US Bank Check OCR Node.js

The Node.js OCR SDK supports the Bank Checks OCR for extracting data from bank checks.

Quick Start

const mindee = require("mindee");
// for TS or modules:
// import * as mindee from "mindee";

// Init a new client
const mindeeClient = new mindee.Client({ apiKey: "my-api-key" });

// Load a file from disk and parse it
const doc = mindeeClient.docFromPath("/path/to/the/file.ext");
const respPromise = doc.parse(mindee.us.BankCheckV1);

// Print a summary of the parsed data
respPromise.then((resp) => {
  if (resp.document === undefined) return;

  console.log(resp.document.toString());
});

Output:

----- US Bank Check V1 -----
Filename:
Routing number: 012345678
Account number: 12345678910
Check number: 8620001342
Date: 2022-04-26
Amount: 6496.58
Payees: John Doe, Jane Doe
----------------------

 

Questions?
Slack Logo Icon  Join our Slack