What will be the output xml produced when I perform processImage on a tilted image. Will the text blocks coordinates are also in tilted form ? Or are a going to return the text blocks as horizontally aligned.

My doubt is, if we use a image that is almost correctly aligned, as a base image. and when ever another tilted image is converted to xml we could use this xml by changing the coordinates values of the xml result, so that the result will be same as that of the result which will be given for a corrected image(image correctly aligned as base image).

the advantage is we don't need to do any preprocessing on tilted image to make align with the base image.

Sorry I could not upload any images. I haven't started anything I just trying to figure out solutions for doubts in my mind.

asked 06 Jul '15, 10:18

Sarath%20Babu's gravatar image

Sarath Babu
54

edited 06 Jul '15, 10:19


ABBYY Cloud OCR SDK supports automated image de-skewing. Also there are two available XML export formats for the processImage method:

  • xml – this format allows you to get text with its original image coordinates,
  • xmlForCorrectedImage - this format allows you to get text with coordinates related to the corrected image (deskewed, rotated, etc.), not the original.

So, if I understand your question correctly, you should always use the xmlForCorrectedImage format for extracting coordinates both for a base image and tilted images.

link

answered 06 Jul '15, 16:37

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.5k16

So if I use xmlForCorrectedImage can I assume that the difference between the result for base image and tilted image will be just scaling factor.

(06 Jul '15, 17:07) Sarath Babu

Yes, it should be so.

(07 Jul '15, 15:36) Oksana Serdyuk ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×160
×103
×42
×6

Asked: 06 Jul '15, 10:18

Seen: 1,432 times

Last updated: 07 Jul '15, 15:36

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal