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) .

질문됨 2년 전227회 조회
1개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠