Combine small images to one page

  • Last Post 2 weeks ago
  • Topic Is Solved posted this 2 weeks ago



I'm using the OCR SDK for recognizing text in relatively small images. The images vary in size and structure, and some contain more than 50 characters, so I can't use the field recognition functionality. Does the SDK provide some fashion to combine these images into one page and process that page? I experimented with




but was billed for each image as a separate page.



Order By: Standard | Newest | Votes
Oksana Serdyuk posted this 2 weeks ago

The image’s cost estimation depends on the method you use. If you use the processDocument method the Service bills the recognition task in A4 pages, and if you use the processFields method, the tasks will be billed as Fields.

I suppose you can try to use the following combination of methods: the submitImage method in order to add your images to one task, and then the processFields method to extract text from the fragments. At the moment one text field can contain small text snipped not longer than 200 characters (space characters are not included). If the field you recognize is longer, the extra characters will not be written into the output. Every 50 characters from the field are estimated as one Field. The limit with 200 characters is planned to expand in future, because sometimes the users need to recognize bigger fields. Unfortunately, I do nоt have information when exactly it will be changed. posted this 2 weeks ago

OK, I'll try that, thanks a lot!