public static interface IDataCaptureCoreAPI.DataCaptureSettings
| Modifier and Type | Method and Description |
|---|---|
IDataCaptureProfileBuilder |
configureDataCaptureProfile() |
void |
setAreaOfInterest(android.graphics.Rect areaOfInterest)
Sets the area of interest.
|
void |
setProfile(java.lang.String profile)
Set profile name
|
void |
setRecognitionLanguage(Language... languages)
Deprecated.
|
void |
setTextOrientationDetectionEnabled(boolean enabled)
Determines whether orientation detection will be used.
|
void |
setTextTypes(TextCapture.TextType... textTypes)
Sets the text types to be used for recognition.
|
@Deprecated 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(boolean enabled)
Simply - determining where the top of the picture is. If disabled and picture isn't rotated correctly the text will not be detected. Enabled by default.
enabled - boolean flag - is page orientation detection enabled or not.void setAreaOfInterest(android.graphics.Rect areaOfInterest)
By default, no area of interest is selected.
areaOfInterest - the rectangle specifying the area of interestvoid setTextTypes(TextCapture.TextType... textTypes)
By default, only the 'Normal' text type is set. This is sufficient in most cases. Setting the correct text type for your text could improve the accuracy of recognition. However, setting multiple text types may slow down the performance.
textTypes - one or more text types to be used for recognitionIDataCaptureProfileBuilder configureDataCaptureProfile()