Developer's Documentation for free mobile OCR SDK

Documentation Menu

IDataCaptureService interface

A background data capture service interface.

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

Extends the IRecognitionService interface.

public interface IDataCaptureService extends IRecognitionService

Methods

Name

Description

configureDataCaptureProfile

Creates a profile builder object, which allows you to configure the data capture service to recognize custom documents.

getExtendedSettings

Provides access to extended service configuration settings. Inherited from IRecognitionService.

setAreaOfInterest

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

setDebugLog

Attaches a callback for collecting debug data. Inherited from IRecognitionService.

start

Starts processing. Inherited from IRecognitionService.

stop

Stops processing and releases the resources used by the recognition service. Inherited from IRecognitionService.

submitRequestedFrame

Submits the video frame requested through the Callback.onRequestLatestFrame method. Inherited from IRecognitionService.

Nested classes

Name

Description

Callback

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

CharInfo

Important! This class is reserved for future use.

Extended information about character formatting.

DataField

A recognized data field. Provides field contents, location and data scheme information.

DataScheme

Information on the data scheme applied to the recognized frame.

DebugLog

A callback interface for collecting debug data. Inherited from the IRecognitionService.DebugLog interface without any modification.

ExtendedSettings

Extended service configuration settings. Inherited without any modification from IRecognitionService.ExtendedSettings.

TextLine

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

Enumerations

The enumerations are inherited from IRecognitionService without any modifications.

Name

Description

ResultStabilityStatus

Result stability status: 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.