Textract to scan Bar Code

0

We have use case where we are using Textract Analyze API to scan receipts from vendors like Dollar General to identify SKU/ products. We are able to extract the data at line item level. However, to prevent duplication we need a unique identifier from the scanned receipts and Textract is not able to scan the bar code number using the Analyze API. Though we are able to extract that field using Analyze document however, that would cost us another API call . Looking for suggestions to approach this .
An example receipt here - https://i.pinimg.com/736x/a2/c8/6a/a2c86a21bdfa47011ed2a2dc71fae877.jpg . Please note - I'm referring to the number mentioned below the bar code (not the bar code scanned no) .

feita há 2 anos225 visualizações
1 Resposta
0

Use the Blocks section from AE response: it's OCR result and AD is reading from the same

{
          "BlockType": "WORD",
          "Confidence": 71.98486328125,
          "Text": "390456534085839029221069924910351711",
          "TextType": "PRINTED",
          "Geometry": {
            "BoundingBox": {
              "Width": 0.79609215259552,

Note: AE is currently using an older OCR model by default and it might not be as accurate as AD (new OCR model). We plan to update this in the near future

AWS
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas