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?

demandé il y a 2 ans446 vues
2 réponses
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
répondu il y a 2 ans
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions