Class CheckScannerConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CheckScannerConfiguration implements Parcelable
Configuration of the check scanner.
-
-
Field Summary
Fields Modifier and Type Field Description private CheckDocumentDetectionMode
documentDetectionMode
-
Constructor Summary
Constructors Constructor Description CheckScannerConfiguration(Map<String, Object> source)
CheckScannerConfiguration(JSONObject json)
CheckScannerConfiguration(CheckDocumentDetectionMode documentDetectionMode)
-
Method Summary
Modifier and Type Method Description final CheckDocumentDetectionMode
getDocumentDetectionMode()
Document detection to be performed in addition to scanning the machine-readable data in the check. final Unit
setDocumentDetectionMode(CheckDocumentDetectionMode documentDetectionMode)
Document detection to be performed in addition to scanning the machine-readable data in the check. final JSONObject
toJson(ToJsonConfiguration config)
final CheckScannerConfiguration
clone()
final static CheckScannerConfiguration
default()
-
-
Constructor Detail
-
CheckScannerConfiguration
CheckScannerConfiguration(JSONObject json)
-
CheckScannerConfiguration
CheckScannerConfiguration(CheckDocumentDetectionMode documentDetectionMode)
-
-
Method Detail
-
getDocumentDetectionMode
final CheckDocumentDetectionMode getDocumentDetectionMode()
Document detection to be performed in addition to scanning the machine-readable data in the check.
By default only the machine-readable data is extracted during check scanning. Optionally, the coordinates and a crop of the entire check document can be returned, in addition to the check data. A check scan result may still be successful even if the whole document is not visible in the input image and the complete document could not be located.
Default is DISABLED
-
setDocumentDetectionMode
final Unit setDocumentDetectionMode(CheckDocumentDetectionMode documentDetectionMode)
Document detection to be performed in addition to scanning the machine-readable data in the check.
By default only the machine-readable data is extracted during check scanning. Optionally, the coordinates and a crop of the entire check document can be returned, in addition to the check data. A check scan result may still be successful even if the whole document is not visible in the input image and the complete document could not be located.
Default is DISABLED
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final CheckScannerConfiguration clone()
-
default
final static CheckScannerConfiguration default()
-
-
-
-