Package io.scanbot.sdk.check
Class DefaultCheckRecognizer
-
- All Implemented Interfaces:
-
io.scanbot.sdk.check.CheckRecognizer
public final class DefaultCheckRecognizer implements CheckRecognizer
Performs detection and recognition of the check data
-
-
Constructor Summary
Constructors Constructor Description DefaultCheckRecognizer()
-
Method Summary
Modifier and Type Method Description Unit
setAcceptedCheckStandards(ArrayList<RootDocumentType> acceptedCheckStandards)
Accepted checks. CheckRecognizerResult
recognize(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnImageOnSuccess)
Performs check data recognition on the NV21 format image CheckRecognizerResult
recognizeWithFinderOverlay(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect, Boolean returnImageOnSuccess)
Performs check data recognition in the finder rect on the NV21 format image CheckRecognizerResult
recognizeBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs check data recognition on the BGR format image CheckRecognizerResult
recognizeJpeg(ByteArray image, Integer orientation)
Performs check data recognition on the JPEG image CheckRecognizerResult
recognizeBitmap(Bitmap image, Integer orientation)
Performs check data recognition on the Bitmap -
-
Method Detail
-
setAcceptedCheckStandards
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).
-
recognize
CheckRecognizerResult recognize(ByteArray nv21, Integer width, Integer height, Integer orientation, Boolean returnImageOnSuccess)
Performs check data recognition on the NV21 format image
-
recognizeWithFinderOverlay
CheckRecognizerResult recognizeWithFinderOverlay(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect, Boolean returnImageOnSuccess)
Performs check data recognition in the finder rect on the NV21 format image
-
recognizeBgr
CheckRecognizerResult recognizeBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs check data recognition on the BGR format image
-
recognizeJpeg
CheckRecognizerResult recognizeJpeg(ByteArray image, Integer orientation)
Performs check data recognition on the JPEG image
-
recognizeBitmap
CheckRecognizerResult recognizeBitmap(Bitmap image, Integer orientation)
Performs check data recognition on the Bitmap
-
-
-
-