ABBYY Real-Time Recognition
This plugin allows to use the Text Capture and Data Capture features of ABBYY Real-Time Recognition SDK (RTR SDK) in apps.
Repo: https://github.com/abbyysdk/RTR-SDK.Cordova
Installation
- Install the Cordova and Ionic Native plugins:
$ ionic cordova plugin add cordova-plugin-abbyy-rtr-sdk $ npm install --save @ionic-native/abbyy-rtr@4
- Add this plugin to your app's module
Supported platforms
- Android
- iOS
Usage
import { AbbyyRTR } from '@ionic-native/abbyy-rtr'; constructor(private abbyyRTR: AbbyyRTR) { } ... this.abbyyRTR.startTextCapture(options) .then((res: any) => console.log(res)) .catch((error: any) => console.error(error)); this.abbyyRTR.startDataCapture(options) .then((res: any) => console.log(res)) .catch((error: any) => console.error(error));
Instance Members
startTextCapture(options)
Opens a modal dialog with controls for the Text Capture scenario.
Param | Type | Details |
---|---|---|
options | TextCaptureOptions |
Returns: Promise<TextCaptureResult>
startDataCapture(options)
Opens a modal dialog with controls for the Data Capture scenario.
Param | Type | Details |
---|---|---|
options | DataCaptureOptions |
Returns: Promise<DataCaptureResult>