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 年前449 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则