Atalasoft MobileImage API Reference
|
Check Detector clss. More...
#import <kfxKCDCheckDetector.h>
Instance Methods | |
(kfxKEDCheckDetectionResult *) | - detectImage:withSettings:andError: |
Determines if a given image contains a check. More... | |
(kfxKEDCheckDetectionResult *) | - detectSample:withSettings:andError: |
Determines if a given sample buffer contains a check. More... | |
Check Detector clss.
Check Detector is a standalone processing class for determining if a given image or sample buffer contains a check. When a check is found, a result object will be returned containing its coordinates. Since this class is limited in scope to detecting checks, the results will not include any data from the check itself.
- (kfxKEDCheckDetectionResult*) detectImage: | (UIImage *) | image | |
withSettings: | (kfxKEDCheckDetectionSettings *) | settings | |
andError: | (NSError **) | error | |
Determines if a given image contains a check.
Given an image, this method will determine if a check is present or not. If a check is found, a result object containing the check's bounding coordinates will be returned. The result will also specify whether the front or back side was detected.
image | The image to search for checks within. |
settings | Check detection settings. If nil than default settings will be used. |
error | On return, if detection could not be performed, a pointer to an error object that encapsulates the reason for failure. The detect method will also return nil in this instance. Pass nil for this argument if you are not interested in specific error information. |
- (kfxKEDCheckDetectionResult*) detectSample: | (CMSampleBufferRef) | sample | |
withSettings: | (kfxKEDCheckDetectionSettings *) | settings | |
andError: | (NSError **) | error | |
Determines if a given sample buffer contains a check.
Given a sample buffer in kCVPixelFormatType_32BGRA format, this method will determine if a check is present or not. If a check is found, a result object containing the check's bounding coordinates will be returned. The result will also specify whether the front or back side was detected.
sample | The sample buffer in kCVPixelFormatType_32BGRA format to search for checks within. |
settings | Check detection settings. If nil than default settings will be used. |
error | On return, if detection could not be performed, a pointer to an error object that encapsulates the reason for failure. The detect method will also return nil in this instance. Pass nil for this argument if you are not interested in specific error information. |