Developer's Documentation for free mobile OCR SDK

Documentation Menu

TextRecognitionCallback interface

A callback interface to manage the processing: obtain information about progress and errors, terminate the operation if necessary. This interface and its methods are to be implemented on the client side.

note Note: This callback is a part of an interface which is available only in the extended version of the library.

interface TextRecognitionCallback

Methods

Name

Description

onError

Reports an error.

onProgress

Reports the approximate percentage of operation completed and delivers the warnings that occurred during processing. Allows you to cancel processing.

onTextOrientationDetected

Informs the client application about the orientation of the image.