public interface ITextCaptureService extends IRecognitionService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ITextCaptureService.Callback
A callback interface to interact with the text capture service: input the data and obtain the results.
|
static class |
ITextCaptureService.CharInfo
Extended information about the characters' formatting.
|
static interface |
ITextCaptureService.ExtendedSettings
Extended service configuration settings.
|
static class |
ITextCaptureService.TextLine
A line of recognized text; the location and additional information are also available.
|
IRecognitionService.DebugLog, IRecognitionService.ResultStabilityStatus, IRecognitionService.Warning| Modifier and Type | Method and Description |
|---|---|
ITextCaptureService.ExtendedSettings |
getExtendedSettings()
Extended service configuration settings.
|
void |
setRecognitionLanguage(Language... languages)
Sets the languages to be used for recognition.
|
void |
setTranslationDictionary(java.lang.String dictionaryName)
Sets the name of the translation dictionary.
|
setAreaOfInterest, setDebugLog, start, stop, submitRequestedFramevoid setRecognitionLanguage(Language... languages)
By default, only English language is set. Setting the correct languages for your text will improve recognition accuracy. However, setting too many languages may slow down performance.
languages - one or more languages to be used for recognitionvoid setTranslationDictionary(java.lang.String dictionaryName)
By default, no translation dictionary is used. Translation dictionaries should be put in the 'assets\translation' folder.
dictionaryName - the name of the translation dictionary file without extensionITextCaptureService.ExtendedSettings getExtendedSettings()
getExtendedSettings in interface IRecognitionService