public interface IDataCaptureProfileBuilder
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IDataCaptureProfileBuilder.IFieldBuilder
The builder interface for a field
|
static interface |
IDataCaptureProfileBuilder.ISchemeBuilder
The builder interface for a data capture scheme
|
static interface |
IDataCaptureProfileBuilder.Predicate<T> |
static class |
IDataCaptureProfileBuilder.ProfileCheckException
The exception to be thrown when profile is not valid
|
| Modifier and Type | Method and Description |
|---|---|
IDataCaptureProfileBuilder.ISchemeBuilder |
addScheme(java.lang.String id)
Add a new scheme
|
void |
checkAndApply()
Check and apply the new profile
|
IDataCaptureProfileBuilder |
setRecognitionLanguage(Language... languages)
Set the recognition language
|
IDataCaptureProfileBuilder |
setTextTypes(TextCapture.TextType... textTypes)
Sets the text types to be used for recognition.
|
IDataCaptureProfileBuilder setRecognitionLanguage(Language... languages)
languages - is an array of recognition languages to setIDataCaptureProfileBuilder 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.ISchemeBuilder addScheme(java.lang.String id)
id - is a string id for the new schemevoid checkAndApply()
throws IDataCaptureProfileBuilder.ProfileCheckException