Hi,

I'm working with the processFields method, and everything works fine with JPG (coordinate-wise). However, JPGs don't handle multiple pages - so I'd like to use PDF. However, I'm feeding the same coordinates I fed the JPG version, but it doesn't work - values come back empty in the output XML. Is there something special that I have to do to get PDF coordinates since PDF is sort of vectorish and it will depend on the dpi your engine is using?

What do you recommend?

Thanks, Adam

asked 27 Jun '12, 00:01

greatrat00's gravatar image

greatrat00
1338

Please provide sample of JPG and PDF files

(27 Jun '12, 00:38) Andrey Isaev ♦♦

Could you please provide the fields settings XML and the request parameters (language, etc) too?

(27 Jun '12, 13:35) Dmitry Me ♦♦

Field settings XML, parameters are in there:

http://wevito.com/ocr/ocrparams2.xml

Thanks, Adam

(27 Jun '12, 19:16) greatrat00

In cases when actual resolution is not defined it is internally set to 300 dpi. This is exactly why you have no data extracted - the JPEG file has resolution set to 150 dpi and so coordinates in respect to the JPEG file are completely irrelevant to the PDF file.

link

answered 28 Jun '12, 15:19

Dmitry%20Me's gravatar image

Dmitry Me ♦♦
2387

Then solution would be fixing the problem with software that was used to create PDF files so it will set correct DPI settings from JPEG files.

(29 Jun '12, 11:23) Andrey Isaev ♦♦
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:

×47
×37
×11

Asked: 27 Jun '12, 00:01

Seen: 4,289 times

Last updated: 29 Jun '12, 11:23

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