How to extract key value pairs from Textract with A2I JSON output??

0

I cannot parse the JSON file from Textract which was uploaded in the S3 bucket after a2i human loop review.

I wanted to extract key/value pairs but textract- trp and json libraries in python not giving me results. How do i extract key value pairs from Textract with A2I JSON schema output?

質問済み 2年前443ビュー
2回答
0

Hi, thanks for using AWS Textract service! I will take a look at this and get back to you, do you mind providing your script that you used for this use case? thanks

AWS
回答済み 2年前
0

Unfortunatey, I do not think that textract-trp supports A2I output JSON yet. As you can see from the A2I documentation the A2I task output data for Amazon Textract is a JSON which is quite different from the Amazon Textract response JSON structure. At the moment, textract-trp only supports Textract response JSON schema.

profile pictureAWS
エキスパート
Anjan
回答済み 2年前

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

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

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