IDCaptureOptions

public final class IDCaptureOptions implements Parcelable

Provides options to change threshold or default threshold in ID Capture Screens.

Constructors

Link copied to clipboard
public IDCaptureOptions IDCaptureOptions(Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance, Float focusThreshold, Float fingerDetectionThreshold, Float glareDetectionThreshold)

Properties

Link copied to clipboard

Option to set Back ID Classification threshold. Minimum ID Back classification confidence percentage, represented as a value between 0 .0and 1.0. Default is 0.7.

Link copied to clipboard

Option to set back ID realness threshold. Minimum ID back capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.8

Link copied to clipboard

Option to set document frame width Ratio. Default ratio is 1.428f, which sets the target to capture document.

Link copied to clipboard

Option to set finger detection threshold. finger detection threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.30.

Link copied to clipboard

Option to set focus threshold. focus threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.98.

Link copied to clipboard

Option to set front ID Classification threshold. Minimum ID front classification confidence percentage, represented as a value between 0.0 and 1.0. Default is 0.7

Link copied to clipboard

Option to set front ID realness threshold. Minimum ID front capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.8

Link copied to clipboard

Option to set glare detection threshold. glare detection threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.20.

Link copied to clipboard

Option to set lower width threshold. Lower ID capture rectangle width threshold tolerance percentage, represented as a value between 0.0 and 1.0. Default is 0.2. A lower width threshold tolerance of 0.2 (20%) means that a scanned ID must fall within (100 - 20) = 80% of the capture overlay rectangle width.

Link copied to clipboard

Option to set upper width threshold. Upper ID capture rectangle width threshold tolerance percentage, represented as a value between 0.0 and 1.0. Default is 0.05. An upper width threshold tolerance of 0.05 (5%) means that a scanned ID must fall within (100 + 5) = 105% of the capture overlay rectangle width.

Functions

Link copied to clipboard
public abstract Integer describeContents()
Link copied to clipboard

Option to set Back ID Classification threshold. Minimum ID Back classification confidence percentage, represented as a value between 0 .0and 1.0. Default is 0.7.

Link copied to clipboard

Option to set back ID realness threshold. Minimum ID back capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.8

Link copied to clipboard

Option to set document frame width Ratio. Default ratio is 1.428f, which sets the target to capture document.

Link copied to clipboard

Option to set finger detection threshold. finger detection threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.30.

Link copied to clipboard
public final Float getFocusThreshold()

Option to set focus threshold. focus threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.98.

Link copied to clipboard

Option to set front ID Classification threshold. Minimum ID front classification confidence percentage, represented as a value between 0.0 and 1.0. Default is 0.7

Link copied to clipboard

Option to set front ID realness threshold. Minimum ID front capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.8

Link copied to clipboard

Option to set glare detection threshold. glare detection threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.20.

Link copied to clipboard

Option to set lower width threshold. Lower ID capture rectangle width threshold tolerance percentage, represented as a value between 0.0 and 1.0. Default is 0.2. A lower width threshold tolerance of 0.2 (20%) means that a scanned ID must fall within (100 - 20) = 80% of the capture overlay rectangle width.

Link copied to clipboard

Option to set upper width threshold. Upper ID capture rectangle width threshold tolerance percentage, represented as a value between 0.0 and 1.0. Default is 0.05. An upper width threshold tolerance of 0.05 (5%) means that a scanned ID must fall within (100 + 5) = 105% of the capture overlay rectangle width.

Link copied to clipboard
public final Unit setBackDocumentConfidence(Float backDocumentConfidence)

Option to set Back ID Classification threshold. Minimum ID Back classification confidence percentage, represented as a value between 0 .0and 1.0. Default is 0.7.

Link copied to clipboard
public final Unit setBackRealnessThreshold(Float backRealnessThreshold)

Option to set back ID realness threshold. Minimum ID back capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.8

Link copied to clipboard
public final Unit setDocumentFrameWidthRatio(Float documentFrameWidthRatio)

Option to set document frame width Ratio. Default ratio is 1.428f, which sets the target to capture document.

Link copied to clipboard
public final Unit setFingerDetectionThreshold(Float fingerDetectionThreshold)

Option to set finger detection threshold. finger detection threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.30.

Link copied to clipboard
public final Unit setFocusThreshold(Float focusThreshold)

Option to set focus threshold. focus threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.98.

Link copied to clipboard
public final Unit setFrontDocumentConfidence(Float frontDocumentConfidence)

Option to set front ID Classification threshold. Minimum ID front classification confidence percentage, represented as a value between 0.0 and 1.0. Default is 0.7

Link copied to clipboard
public final Unit setFrontRealnessThreshold(Float frontRealnessThreshold)

Option to set front ID realness threshold. Minimum ID front capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.8

Link copied to clipboard
public final Unit setGlareDetectionThreshold(Float glareDetectionThreshold)

Option to set glare detection threshold. glare detection threshold tolerance percentage, represented as a value between 0.0 and 1.0 Default is 0.20.

Link copied to clipboard
public final Unit setLowerWidthThresholdTolerance(Float lowerWidthThresholdTolerance)

Option to set lower width threshold. Lower ID capture rectangle width threshold tolerance percentage, represented as a value between 0.0 and 1.0. Default is 0.2. A lower width threshold tolerance of 0.2 (20%) means that a scanned ID must fall within (100 - 20) = 80% of the capture overlay rectangle width.

Link copied to clipboard
public final Unit setUpperWidthThresholdTolerance(Float upperWidthThresholdTolerance)

Option to set upper width threshold. Upper ID capture rectangle width threshold tolerance percentage, represented as a value between 0.0 and 1.0. Default is 0.05. An upper width threshold tolerance of 0.05 (5%) means that a scanned ID must fall within (100 + 5) = 105% of the capture overlay rectangle width.

Link copied to clipboard
public abstract Unit writeToParcel(Parcel p0, Integer p1)