Developer's Documentation for free mobile OCR SDK

Documentation Menu

Callback interface

A callback interface to interact with the recognition service: input the data and obtain the results. This interface and its methods are to be implemented on the client side.

public static interface Callback

Note: While the service is being stopped, frames continue to be requested and calls to this callback continue to be queued, so this callback can be called after the service has been stopped.

Methods

Name

Description

onError

Reports an error.

onFrameProcessed

Delivers the result after recognizing the frames that were provided.

onRequestLatestFrame

Requests the latest video frame.