0.4.0 • Published 5 years ago

@verihubs-api/reactocr v0.4.0

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

Verihubs-OCR

Verihubs-OCR is a React library for recognizing text.

Installation

Use the package manager npm to install Verihubs-OCR.

npm install @verihubs-api/reactocr

Usage

import { extractInformation } from '@verihubs-api/reactocr';

  componentDidMount = async () => {
    await this.handleImage(this.state.imageURL);
  };

  handleImage = async (image = this.state.imageURL) => {
    await extractInformation(image).then(ocrResultObj => {
      this.setState({result: ocrResultObj})
    });
  };

License

MIT

0.4.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago