Package io.scanbot.sdk.check
Interface CheckScanner
-
- All Implemented Interfaces:
public interface CheckScanner
Performs scanning of the check data
-
-
Method Summary
Modifier and Type Method Description abstract CheckScannerConfiguration
copyCurrentConfiguration()
Returns a copy of the current configuration. abstract Unit
setConfiguration(CheckScannerConfiguration configuration)
Sets the configuration for the Check scanner. abstract Unit
setAcceptedCheckStandards(ArrayList<RootDocumentType> acceptedCheckStandards)
Accepted checks. abstract CheckScanningResult
scan(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnImageOnSuccess)
Performs check data scanning on the NV21 format image 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 abstract CheckScanningResult
scanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs check data scanning on the BGR format image abstract CheckScanningResult
scanFromJpeg(ByteArray image, Integer orientation)
Performs check data scanning on the JPEG image abstract CheckScanningResult
scanFromBitmap(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
-
-
-
-