Kofax Mobile SDK API Reference
Instance Methods | Properties | List of all members
kfxKEDCheckDetectionSettings Class Reference

A configuration object for controlling the kfxKCDCheckDetector object. More...

#import <kfxKEDCheckDetectionSettings.h>

Inheritance diagram for kfxKEDCheckDetectionSettings:
kfxKEDDocumentBaseDetectionSettings

Instance Methods

(instancetype) - initWithSettings:
 Initializes a new object using the specified document base detection settings. More...
 

Properties

KEDCheckSide checkSide
 The side of the check to be searched. More...
 
CGFloat aspectRatioTolerance
 The tolerance that needs to check the aspect ratio value while detection of check back side. More...
 
CGFloat targetFrameAspectRatio
 The aspect ratio of the rectangular frame that should match the check being searched. More...
 
- Properties inherited from kfxKEDDocumentBaseDetectionSettings
CGPoint targetFrameCenter
 The center point within the image of the target frame. More...
 
CGFloat targetFramePaddingPercent
 The minimum padding in percent length to be maintained between the edges of the target frame and image. More...
 
CGFloat targetFrameAspectRatio
 The aspect ratio of the rectangular frame that should match the document being searched. More...
 
CGFloat zoomMinFillFraction
 The minimum fill area as a fraction of the target frame. More...
 
CGFloat zoomMaxFillFraction
 The maximum fill area as a fraction of the target frame. More...
 
CGFloat turnSkewAngleTolerance
 The maximum angle the document can be rotated off from the target frame. More...
 
CGFloat verticalMovementTolerance
 The maximum distance the document can be shifted above or below the target frame. More...
 
CGFloat horizontalMovementTolerance
 The maximum distance the document can be shifted left of right of the target frame. More...
 

Detailed Description

A configuration object for controlling the kfxKCDCheckDetector object.

Method Documentation

- (instancetype) initWithSettings: (kfxKEDDocumentBaseDetectionSettings *)  settings

Initializes a new object using the specified document base detection settings.

Returns the newly initialized object with the specifide properties.

Property Documentation

- (CGFloat) aspectRatioTolerance
readwritenonatomicassign

The tolerance that needs to check the aspect ratio value while detection of check back side.

The tolerance is specified as a fraction of the target frame aspect ratio. Default value 0 means that this check is disabled.

The default tolerance value is 0.

- (KEDCheckSide) checkSide
readwritenonatomicassign

The side of the check to be searched.

The side of the check for detection. By default is KED_CHECK_SIDE_FRONT.

See also
KEDCheckSide
- (CGFloat) targetFrameAspectRatio
readwritenonatomicassign

The aspect ratio of the rectangular frame that should match the check being searched.

The aspect ratio is presented in the format of longEdge/shortEdge, and is used to construct the target frame.

If targetFrameAspectRatio is in range (0, 1) it will be inverted. For example: the ratio 0.4 (2.0/5.0) will be inverted to 2.5 (5.0/2.0).

If the targetFrameAspectRatio is set to 0, then it will be automatically reset to an image aspect ratio. Setting negative values has the same effect as if 0 was set.

The default value is 2.18 (6.0 / 2.75).


The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.