aws-textract-util
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

aws textract util

A helper to filter and search on the aws textract's json result

Table of content

Install

npm install aws-textract-util

or

yarn add aws-textract-util

Example

Create an utility

const textractUtil = new TextractUtil(textractResult)

Tables

Filter tables on page 1

const tables = textract.tables({ page: 1 })

Filter with confidence greather or equals to 50

const tables = textract.tables({ page: 1, confidence: 50 })

Fields

Filter fields on page 1

const fields = textract.fields({ page: 1 })

Filter with confidence grather or equals to 60

const fields = textract.fields({ page: 2, confidence: 60 })

Lines

Filter lines on page 1

const lines = textract.lines({ page: 1 })

Filter with confidence grather or equals to 60

const lines = textract.lines({ page: 1, confidence: 60 })

Readme

Keywords

Package Sidebar

Install

npm i aws-textract-util

Weekly Downloads

2

Version

1.2.3

License

UNLICENSED

Unpacked Size

27.7 kB

Total Files

15

Last publish

Collaborators

  • azimut-energia