aws-textract-extractor
v1.0.0
Published
Utility package to help parse AWS Textract reponse into readable content
Downloads
1
Readme
aws-textract-extractor
Utility package to help parse AWS Textract response
Install
npm install aws-textract-extractor
Usage
import extractor from 'aws-textract-extractor';
const { pairs, tables } = extractor.extract(blocks)
API
extract(blocks)
input
Type: Block[]
Blocks response from AWS Textract commands.
returns
Type: object
An object with extracted forms data as key-value pair and tables data
{
"pairs": { },
"tables": [ ]
}