Developer's Documentation for free mobile OCR SDK

Documentation Menu

ITextCaptureService interface

A background recognition service.

This interface provides methods to tune the processing settings, start and stop the work, and pass the video frames from camera to the background processing engine.

public interface ITextCaptureService

Methods

Name

Description

getExtendedSettings

Provides access to extended service configuration settings.

setAreaOfInterest

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

setDebugLog

Attaches a callback for collecting debug data.

setRecognitionLanguage

Sets the languages to be used for recognition.

setTranslationDictionary

Sets the name of the translation dictionary.

start

Starts processing.

stop

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

submitRequestedFrame

Submits the video frame requested through the Callback.onRequestLatestFrame method.

Nested classes

Name

Description

Callback

A callback interface to interact with the recognition service: input the data and obtain the results.

CharInfo

Important! This class is reserved for future use.

Extended information about the characters‘ formatting.

DebugLog

A callback interface for collecting debug data.

ExtendedSettings

Extended service configuration settings.

TextLine

A line of recognized text; the location and additional information are also available.

Enumerations

Name

Description

ResultStabilityStatus

Result stability: the estimate of how stable the result is, and whether it is likely to be improved by adding new frames.

Warning

A warning that occurred during processing.