While calling processFields method, we need to send a settings with left, right, top, bottom coordinates. In my scenario, user would take an image from camera, so image might have different resolutions, may be landscaped or portrait mode. In such cases, the left, right, top, bottom differs accordingly depending upon image, so these values could not be hard coded. How do we detect boundary for an image and hence create a settings with co-ordinates dynamically and call the method processFields.

Thanks in advance for your answer.

asked 08 Apr '15, 10:14

UnderCover's gravatar image


Actually in case the forms are quite different each time, there is no such solution at the moment. In Cloud OCR SDK it is necessarily to specify the exact region of the text field which you are going to recognize. However if your images do not include any handprinted text and you processed the printed text only, you can try the full-page recognition mode (for example, the processImage method with the textExtraction profile). In this case you can recognize all the text on a page and extract the information you need on your side. To parse the recognized text, it could be helpful to export it with the coordinates (set exportFormat=xml).

Also ABBYY provides a wide choice of products and probably another our product will fit for your scenario better. We recommend to pay your attention on the Data and Document Capture software (ABBYY FlexiCapture, ABBYY FlexiCapture for Invoices, ABBYY FlexiCapture Engine). These offline products are created specially for forms and invoices processing.


answered 08 Apr '15, 17:20

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦


Thank u for such quick response. Could you suggest me the way to retrieve checkbox value using method processImage?

Let me know.


answered 08 Apr '15, 18:05

UnderCover's gravatar image


Unfortunately, the processImage method cannot recognize checkmarks. For this you can use the processFields or processCheckmarkField methods, but in this case you should specify the exact coordinates of the fields.

However ABBYY FlexiCapture will be the best solution for forms recognition.


answered 09 Apr '15, 07:41

Oksana%20Serdyuk's gravatar image

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



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: 08 Apr '15, 10:14

Seen: 1,234 times

Last updated: 09 Apr '15, 17:02

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