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, Float minMrzConfidence, Float minBarcodeConfidence, Float documentBackComponentConfidence, Long allowOverrideWrongDocumentTypeAfterMs, WrongDocumentTypeHandlingMode wrongDocumentTypeHandlingMode, Integer wrongDocumentTypeWarningDelayInSec, Boolean separateIdCardCaptureSequence)

Properties

Link copied to clipboard

Option to set timer to allow override wrong document type. Default is 8000.

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 back component confidence detection. document back component Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.70.

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 min Barcode Confidence detection. Barcode Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.50.

Link copied to clipboard

Option to set min Mrz Confidence detection. Mrz Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.50.

Link copied to clipboard

Option to enable separate ID card capture sequence preview. Default is false.

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

Option to set wrong document type handling mode. Default is WrongDocumentTypeHandlingMode.MANUAL_CAPTURE.

Link copied to clipboard

Option to set wrong document type warning delay in seconds. Default is 5.

Functions

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

Option to set timer to allow override wrong document type. Default is 8000.

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 back component confidence detection. document back component Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.70.

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 min Barcode Confidence detection. Barcode Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.50.

Link copied to clipboard
public final Float getMinMrzConfidence()

Option to set min Mrz Confidence detection. Mrz Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.50.

Link copied to clipboard

Option to enable separate ID card capture sequence preview. Default is false.

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

Option to set wrong document type handling mode. Default is WrongDocumentTypeHandlingMode.MANUAL_CAPTURE.

Link copied to clipboard

Option to set wrong document type warning delay in seconds. Default is 5.

Link copied to clipboard
public final Unit setAllowOverrideWrongDocumentTypeAfterMs(Long allowOverrideWrongDocumentTypeAfterMs)

Option to set timer to allow override wrong document type. Default is 8000.

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 setDocumentBackComponentConfidence(Float documentBackComponentConfidence)

Option to set document back component confidence detection. document back component Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.70.

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 setMinBarcodeConfidence(Float minBarcodeConfidence)

Option to set min Barcode Confidence detection. Barcode Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.50.

Link copied to clipboard
public final Unit setMinMrzConfidence(Float minMrzConfidence)

Option to set min Mrz Confidence detection. Mrz Confidence detection, represented as a value between 0.0 and 1.0 Default is 0.50.

Link copied to clipboard
public final Unit setSeparateIdCardCaptureSequence(Boolean separateIdCardCaptureSequence)

Option to enable separate ID card capture sequence preview. Default is false.

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 final Unit setWrongDocumentTypeHandlingMode(WrongDocumentTypeHandlingMode wrongDocumentTypeHandlingMode)

Option to set wrong document type handling mode. Default is WrongDocumentTypeHandlingMode.MANUAL_CAPTURE.

Link copied to clipboard
public final Unit setWrongDocumentTypeWarningDelayInSec(Integer wrongDocumentTypeWarningDelayInSec)

Option to set wrong document type warning delay in seconds. Default is 5.

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