OCR Ionic package
npm install @totvs/mingle-ionic-ocrThis plugin allows you to upload and download files.
Using npm:
``$ npm install --save @totvs/mingle-ionic-ocr `
`js
// using ES6 modules
import { OcrPlugin } from @totvs/mingle-ionic-ocr
// using CommonJS modules
var ocr = require('@totvs/mingle-ionic-ocr')
`Usage
Create an instance of the OcrPlugin:
` js`
var ocr = new OcrPlugin();
This method is used upload file.
` js``
this.ocr.readBusinessCard('your image data');