0.3.0 • Published 1 year ago

anatomic-google-vision v0.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

anatomic-google-vision

An anatomic component that wraps the @google-cloud/vision package.

Install

npm install anatomic-google-vision

Usage

const Vision = require("anatomic-google-vision");

process.env.GOOGLE_APPLICATION_CREDENTIALS =
  "/PATH/TO/service-account-credentials.json";

async function read() {
  const ocr = await Vision().start();
  const path = "tmp/1sV3pgFBkcpgqAiIBo4lG2QdUB9n1qmCx";
  const result = await ocr.detect({ path });
  console.log(result);
}
0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago