1.0.1 • Published 2 years ago

node-text-from-image v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Node.js Text from Image

npm version

A rewrite of text-from-image by goyalabhi1305 in TypeScript.

Installation

npm install --save node-text-from-image

Usage

This gives a promise which can be used further for various uses

import getTextFromImage from "node-text-from-image";

getTextFromImage("./image.png").then(text => {
    console.log(text);
}).catch(err => {
    console.log(err);
})

Please take care

  • Image can be any supported Image Format.
  • The clear the image the better.
  • You can use Sharp or other image processing library to modify image before sending it to the function

Issues

If you run into any problems, please create an issue.

Contributing

If you're interested in contributing, please follow the GitHub repository.