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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南