コミュニティ

Find initial coordinates for method processFields

Hi,

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.

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

3件のコメント

  • Avatar
    Permanently deleted user

    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.

    0
  • Avatar
    Permanently deleted user

    Hi

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

    Let me know.

    0
  • Avatar
    Permanently deleted user

    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.

    0

サインインしてコメントを残してください。