Package io.scanbot.sdk.check
Class CheckScannerConfiguration
- java.lang.Object
-
- io.scanbot.sdk.check.CheckScannerConfiguration
-
public class CheckScannerConfiguration extends java.lang.ObjectConfiguration of the check scanner.
-
-
Constructor Summary
Constructors Constructor Description CheckScannerConfiguration()Constructs CheckScannerConfiguration with default parameters.CheckScannerConfiguration(CheckDocumentDetectionMode documentDetectionMode, java.util.List<CheckStandard> acceptedCheckStandards, ProcessingMode processingMode)Constructs CheckScannerConfiguration with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CheckStandard>getAcceptedCheckStandards()Getter for acceptedCheckStandards field.CheckDocumentDetectionModegetDocumentDetectionMode()Getter for documentDetectionMode field.ProcessingModegetProcessingMode()Getter for processingMode field.voidsetAcceptedCheckStandards(java.util.List<CheckStandard> acceptedCheckStandards)Setter for acceptedCheckStandards field.voidsetDocumentDetectionMode(CheckDocumentDetectionMode documentDetectionMode)Setter for documentDetectionMode field.voidsetProcessingMode(ProcessingMode processingMode)Setter for processingMode field.
-
-
-
Constructor Detail
-
CheckScannerConfiguration
public CheckScannerConfiguration(CheckDocumentDetectionMode documentDetectionMode, java.util.List<CheckStandard> acceptedCheckStandards, ProcessingMode processingMode)
Constructs CheckScannerConfiguration with the given params.- Parameters:
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. If cropping is enabled, check recognition will be performed on the cropped image of the check, which may improve recognition results. Default is DISABLEDacceptedCheckStandards- Accepted check standards. Optional, by default - all checks are accepted. With an empty list no filter is applied and all checks are accepted.processingMode- Scanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it. On the other hand, scanners can produce even better results if they can analyze multiple images of the same subject and cross-check and combine the results. The processing mode tells the scanner whether to optimize for single or multiple images of a subject. Default is AUTO
-
CheckScannerConfiguration
public CheckScannerConfiguration()
Constructs CheckScannerConfiguration with default parameters.
-
-
Method Detail
-
getDocumentDetectionMode
public CheckDocumentDetectionMode getDocumentDetectionMode()
Getter for documentDetectionMode field. See constructor documentation for more information about the field.- Returns:
- documentDetectionMode
-
setDocumentDetectionMode
public void setDocumentDetectionMode(CheckDocumentDetectionMode documentDetectionMode)
Setter for documentDetectionMode field. See constructor documentation for more information about the field.- Parameters:
documentDetectionMode- Value to set.
-
getAcceptedCheckStandards
public java.util.List<CheckStandard> getAcceptedCheckStandards()
Getter for acceptedCheckStandards field. See constructor documentation for more information about the field.- Returns:
- acceptedCheckStandards
-
setAcceptedCheckStandards
public void setAcceptedCheckStandards(java.util.List<CheckStandard> acceptedCheckStandards)
Setter for acceptedCheckStandards field. See constructor documentation for more information about the field.- Parameters:
acceptedCheckStandards- Value to set.
-
getProcessingMode
public ProcessingMode getProcessingMode()
Getter for processingMode field. See constructor documentation for more information about the field.- Returns:
- processingMode
-
setProcessingMode
public void setProcessingMode(ProcessingMode processingMode)
Setter for processingMode field. See constructor documentation for more information about the field.- Parameters:
processingMode- Value to set.
-
-