Multiple region scans

  • Last Post 14 May 2018
egaldamez25 posted this 04 April 2018

Hello friends,


Im new at this forum and using ABBY CLOUD OCR SDK, i want the ocr to process ID Documents and i know the coordinates of the text i want to extract and process is there anyway ive tried the process text field sending one region and it works fine but i need to feed all of the coordinates of the text i want to retrieve is this even possible? I want to make this for the post processing of the XML gets easier.


Thanks in advance

Order By: Standard | Newest | Votes
Oksana S. posted this 09 April 2018

If the documents you are going to process are well structured and have static unchangeable form, then you can try to use the processFields method to recognize some fields on a page for one call. Depending on the type of a field and its contents, you can fine-tune the recognition process by using field-specific settings (see the lists of available parameters in the XML Parameters of Field Recognition article). For each type of document you need to create a specific template. Please refer to the How to Recognize Text Fields article for an overview of possible applications. Also note that the coordinates of the blocks for each field that should be extracted must be specified manually in the XML template.

Please see how this method is implemented in our code samples:

egaldamez25 posted this 11 May 2018

Hello Oksana thanks for your answer, is there any code samples for PHP for this method? i cant seem to find it anywhere

Oksana S. posted this 14 May 2018

Unfortunately, currently there is no such sample, in our PHP code samples the processImage method is implemented only.