I´m having an issue where im sending an pdf which is captured in landscape mode. When the response xml and pdf is returned the pdf is corrected to portrait mode but the xml height and width are given in the original landscape mode. Example height="1234" width="4321" where it should be the opposite when the page is rotated to portrait mode. This results in problems when we need to show something on the page from the given coordinates as these are incorrect according to the returned portrait pdf.

I have enclosed one of the ocr taskids for one of the pdf´s

Taskid: 5f22e1ca-1101-4b18-8af7-258d757faf52

asked 17 Mar '15, 14:55

Continia's gravatar image


edited 19 Mar '15, 11:41

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦

To get the coordinates of the corrected image use the xmlForCorrectedImage export format of the processImage method. This format is the same as xml, but all coordinates written into the output XML file relate to the corrected image, not the original.

This answer is marked "community wiki".

answered 18 Mar '15, 16:44

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦

edited 19 Mar '15, 11:41

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 17 Mar '15, 14:55

Seen: 1,226 times

Last updated: 19 Mar '15, 11:41

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