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?

asked 2 years ago444 views
2 Answers
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
answered 2 years ago
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
EXPERT
Anjan
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions