I need to work with a 'receipt fields scanning' scenario. I was wondering which is the best approach for it:

1.- Use 'processTextField' method adding regExp param with the name of my fields to recognize. 2.- Use 'processImage' method doing the regular expression on my side.

Of course my best option is clearly the first one, since the system does the processing. So is it possible? Because I've tried to set the 'processTextField' with 'regExp' parameter but I do n't get any success on it.

asked 06 Nov '14, 16:10

Jorge%20Velasco's gravatar image

Jorge Velasco

For the receipt capture we recommend either to use the special API, which is currently in beta-testing (my colleague Victoria has already written to you about it by email), or to use the processImage method with the textExtraction profile. For the second variant it is important to understand that the text order sometimes may be wrong. It may happen because of during document analysis the text is grouped in blocks by columns. So, we recommend for this scenario to perform export to XML (words are exported with its coordinates) and then sort the words using its coordinates on your side.

As for the processTextField method it is hardly appropriate for this purpose because you should specify the region of the text field on the image strictly and this region must be invariable from one image to another.


answered 12 Nov '14, 15:22

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦

edited 12 Nov '14, 15:23

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: 06 Nov '14, 16:10

Seen: 2,360 times

Last updated: 12 Nov '14, 15:23

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