public static interface IDataCaptureCoreAPI.DataCaptureSettings
Modifier and Type | Method and Description |
---|---|
void |
setProfile(java.lang.String profile)
Set profile name
|
void |
setRecognitionLanguage(Language... languages)
Sets the languages to be used for recognition.
|
void |
setTextOrientationDetectionEnabled(java.lang.Boolean enabled)
Determines whether orientation detection will be used.
|
void 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 setProfile(java.lang.String profile)
profile
- is the data capture profilejava.lang.IllegalArgumentException
- if profile is wrongvoid setTextOrientationDetectionEnabled(java.lang.Boolean enabled)
enabled
- boolean flag - is page orientation detection enabled or not.