1 Answer
- Newest
- Most votes
- Most comments
0
Textract does not guarantee any sort of ordering of Forms response today. General recommendation is to follow Best Practices for Amazon Textract to ensure input documents are optimized for better results.
answered a year ago
Relevant content
- asked 3 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
I am also looking to maintain the order of text in the key/value response with getDocumentAnalysis. Processing medical reports where sections repeat, so a group of keys are duplicated, for example multiple physicians; AttLName, AttFName, AttMName. I cannot ensure the First Name is associated with the correct Last Name. It seems to me that the order of data returned by the API is by Confidence Score(desc). When I run the same document through the AWS Analyze Document service from the AWS Console the order is preserved. Why are the results from the console and the API different?