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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ