Package io.scanbot.sdk.check
Interface CheckScanner
-
- All Implemented Interfaces:
public interface CheckScannerPerforms scanning of the check data
-
-
Method Summary
Modifier and Type Method Description abstract CheckScannerConfigurationcopyCurrentConfiguration()Returns a copy of the current configuration. abstract UnitsetConfiguration(CheckScannerConfiguration configuration)Sets the configuration for the Check scanner. abstract UnitsetAcceptedCheckStandards(ArrayList<RootDocumentType> acceptedCheckStandards)Accepted checks. abstract CheckScanningResultscan(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnImageOnSuccess)Performs check data scanning on the NV21 format image abstract CheckScanningResultscanInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect, Boolean returnImageOnSuccess)Performs check data scanning in the finder rect on the NV21 format image abstract CheckScanningResultscanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)Performs check data scanning on the BGR format image abstract CheckScanningResultscanFromJpeg(ByteArray image, Integer orientation)Performs check data scanning on the JPEG image abstract CheckScanningResultscanFromBitmap(Bitmap image, Integer orientation)Performs check data scanning on the Bitmap -
-
Method Detail
-
copyCurrentConfiguration
abstract CheckScannerConfiguration copyCurrentConfiguration()
Returns a copy of the current configuration.
-
setConfiguration
abstract Unit setConfiguration(CheckScannerConfiguration configuration)
Sets the configuration for the Check scanner.
- Parameters:
configuration- The configuration to set.
-
setAcceptedCheckStandards
abstract Unit setAcceptedCheckStandards(ArrayList<RootDocumentType> acceptedCheckStandards)
Accepted checks.
- Parameters:
acceptedCheckStandards- A list of RootDocumentType (enum - RootDocumentType.USACheck, RootDocumentType.FRACheck, RootDocumentType.KWTCheck, RootDocumentType.AUSCheck, RootDocumentType.INDCheck, RootDocumentType.ISRCheck, RootDocumentType.UnknownCheck, RootDocumentType.UAECheck, RootDocumentType.CANCheck).
-
scan
abstract CheckScanningResult scan(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnImageOnSuccess)
Performs check data scanning on the NV21 format image
-
scanInArea
abstract CheckScanningResult scanInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect, Boolean returnImageOnSuccess)
Performs check data scanning in the finder rect on the NV21 format image
-
scanFromBgr
abstract CheckScanningResult scanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs check data scanning on the BGR format image
-
scanFromJpeg
abstract CheckScanningResult scanFromJpeg(ByteArray image, Integer orientation)
Performs check data scanning on the JPEG image
-
scanFromBitmap
abstract CheckScanningResult scanFromBitmap(Bitmap image, Integer orientation)
Performs check data scanning on the Bitmap
-
-
-
-