Developer's Documentation for free mobile OCR SDK

Documentation Menu

IRecognitionCoreAPI interface

Provides access to low-level functions for single image processing. Useful when you need to recognize an image that was not taken by the camera of the device on which the application operates — for example, scans sent by email.

note Note: This interface is available only in the extended version of the library.

Use the object on the thread on which it was created; you may also create several objects on different threads and use them concurrently. All method calls are synchronous (will not return until the operation is completed), so should not be used on the UI thread.

public interface IRecognitionCoreAPI

Methods

Name

Description

close

Releases the resources.

getProcessingSettings

Provides access to the general processing settings.

getTextRecognitionSettings

Provides access to the settings of text recognition.

recognizeText

Performs recognition of an image.

Nested classes

Name

Description

CharInfo

Extended information about the character formatting.

warning Important! This class is reserved for future use.

ProcessingSettings

The general settings which are the same for different processing scenarios.

TextBlock

A collection of recognized text lines found in a text area (block) on the image.

TextLine

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

TextRecognitionCallback

A callback interface to manage the processing: obtain information about progress and errors, terminate the operation if necessary.

TextRecognitionSettings

The settings for text recognition.

Enumerations

Name

Description

Warning

A warning that occurred during processing.