@interface SBSDKChequeRecognizer : NSObject
A realtime detector and recognizer for U.S. Cheques. It detects cheques on CMSampleBufferRef object from an AVFoundation video stream. After successful detection it runs a recognition operation to extract the data fields of the detected credit card.
Detects and recognizes a U.S. Cheque in the given image.
- (nullable SBSDKChequeRecognizerResult *) recognizeChequeOnBuffer:(nonnull CMSampleBufferRef)sampleBufferRef orientation:(AVCaptureVideoOrientation)videoOrientation;
func recognizeCheque(on sampleBufferRef: CMSampleBuffer, orientation videoOrientation: AVCaptureVideoOrientation) -> SBSDKChequeRecognizerResult?
The video frame or still image as CMSampleBufferRef object to detect a cheque on.
The orientation of the video frame.
A SBSDKChequeRecognizerResult object containing the field data or nil if detection or recognition failed.