Developer's Documentation for free mobile OCR SDK

Documentation Menu

RTRRecognitionService protocol

A background recognition service.

This protocol provides methods to tune the processing settings, pass the video frames from camera to the background processing engine, and release the resources afterwards.

The RTRRecognitionService protocol also defines a delegate that conforms to the RTRRecognitionServiceDelegate protocol and must implement its methods. The recognition service informs the delegate when the result is ready or when an image is saved, as well as sending information about current progress and errors.

Methods

Name

Description

- addSampleBuffer:

Sends the video frame obtained from camera to the recognition service.

- setAreaOfInterest:

Sets the area on the frame where the text is to be found.

- setRecognitionLanguages:

Sets the languages to be used for recognition.

- setTranslationDictionary:

Sets the name of the translation dictionary.

- stopTasks

Stops processing and releases the resources used by the recognition service.