Ionic Framework 4 is almost here. Preview the beta docs and try it out now! Try Ionic 4 Beta

ABBYY Real-Time Recognition

Improve this doc

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

  1. Install the Cordova and Ionic Native plugins:
    $ ionic cordova plugin add cordova-plugin-abbyy-rtr-sdk
    $ npm install --save @ionic-native/abbyy-rtr
    
  2. Add this plugin to your app's module

Supported platforms

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>

API

Native

General