Insight Horizon
health /

Textract — Boto3 Docs 1.18.27 documentation

{ 'DocumentMetadata': { 'Pages': 123 }, 'ExpenseDocuments': [ { 'ExpenseIndex': 123, 'SummaryFields': [ { 'Type': { 'Text': 'string', 'Confidence': ... }, 'LabelDetection': { 'Text': 'string', 'Geometry': { 'BoundingBox': { 'Width': ..., 'Height': ..., 'Left': ..., 'Top': ... }, 'Polygon': [ { 'X': ..., 'Y': ... }, ] }, 'Confidence': ... }, 'ValueDetection': { 'Text': 'string', 'Geometry': { 'BoundingBox': { 'Width': ..., 'Height': ..., 'Left': ..., 'Top': ... }, 'Polygon': [ { 'X': ..., 'Y': ... }, ] }, 'Confidence': ... }, 'PageNumber': 123 }, ], 'LineItemGroups': [ { 'LineItemGroupIndex': 123, 'LineItems': [ { 'LineItemExpenseFields': [ { 'Type': { 'Text': 'string', 'Confidence': ... }, 'LabelDetection': { 'Text': 'string', 'Geometry': { 'BoundingBox': { 'Width': ..., 'Height': ..., 'Left': ..., 'Top': ... }, 'Polygon': [ { 'X': ..., 'Y': ... }, ] }, 'Confidence': ... }, 'ValueDetection': { 'Text': 'string', 'Geometry': { 'BoundingBox': { 'Width': ..., 'Height': ..., 'Left': ..., 'Top': ... }, 'Polygon': [ { 'X': ..., 'Y': ... }, ] }, 'Confidence': ... }, 'PageNumber': 123 }, ] }, ] }, ] }, ]}