Is there any way to setup image correction before processFields is being processed? The field coordinates provided by us are based on a template, but images might be provided in a slightly different angle or distance.
Is there a way to have the image cropped and de-skewed automatically and consistently so processFields hits the right target?
Comments
2 comments
I apologize for the delay with response caused by the state holidays in Russia.
When you use the processFields method there is no possibility to adjust image preprocessing settings. By default in this scenario the image files are subjected to additional processing, such as:
Unfortunately, Cloud OCR SDK does not support automatic layout analysis for field-level recognition, so you need to set up some certain recognition parameters for the fields to "tell" the service that the text to be recognized has the certain format. The coordinates of the fields also must be specified manually. This approach is applicable, only if the recognized documents are well-structured, have a known layout and are not different from each and other.
Gotcha, thanks for the detailed response!
Please sign in to leave a comment.