Mobile SDKs18 pages

IDCaptureOptions

← Browse native SDK reference

On this page · 4 sections
IDentity-SDK/com.idmission.sdk2.client.model/IDCaptureOptions

IDCaptureOptions

public final class IDCaptureOptions implements Parcelable

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

Constructors

public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled, Boolean isIdInstructionAnimationEnabled, Long idInstructionAnimationDuration, Boolean isBarcodeRecoveryEnabled, Integer missingBarcodeTimeInterval, Integer barcodeRecoveryMoveCloserTimeInterval, Integer barcodeRecoveryCaptureTimeInterval)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled, Boolean isIdInstructionAnimationEnabled, Long idInstructionAnimationDuration, Boolean isBarcodeRecoveryEnabled, Integer missingBarcodeTimeInterval, Integer barcodeRecoveryMoveCloserTimeInterval)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled, Boolean isIdInstructionAnimationEnabled, Long idInstructionAnimationDuration, Boolean isBarcodeRecoveryEnabled, Integer missingBarcodeTimeInterval)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled, Boolean isIdInstructionAnimationEnabled, Long idInstructionAnimationDuration, Boolean isBarcodeRecoveryEnabled)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled, Boolean isIdInstructionAnimationEnabled, Long idInstructionAnimationDuration)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled, Boolean isIdInstructionAnimationEnabled)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit, Boolean isIDCapturePreviewEnabled)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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, Integer consecutiveFakeIdCaptureLimit)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, 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)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance, Float focusThreshold, Float fingerDetectionThreshold, Float glareDetectionThreshold, Float minMrzConfidence, Float minBarcodeConfidence)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance, Float focusThreshold, Float fingerDetectionThreshold, Float glareDetectionThreshold, Float minMrzConfidence)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance, Float focusThreshold, Float fingerDetectionThreshold, Float glareDetectionThreshold)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance, Float focusThreshold, Float fingerDetectionThreshold)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance, Float focusThreshold)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance, Float upperWidthThresholdTolerance)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence, Float lowerWidthThresholdTolerance)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence, Float backDocumentConfidence)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold, Float frontDocumentConfidence)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold, Float backRealnessThreshold)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio, Float frontRealnessThreshold)
public IDCaptureOptions IDCaptureOptions(IDCaptureOrientation idCaptureOrientationMode, Float documentFrameWidthRatio)

Properties

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

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.

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.3

Barcode Recovery capture window in seconds, started once the bbox-growth requirement is met (user confirmed to have moved closer). The best readable crop within this window is captured. Type: Int
nullable: false
example: 5

Barcode Recovery "move closer" window in seconds. This timer runs from the moment Barcode Recovery starts, independently of whether a barcode is detected, so the user can never be stuck indefinitely. If the barcode bounding box does not grow enough (user moving closer) before this elapses, recovery completes with the best image gathered so far. Type: Int
nullable: false
example: 10

Option to set a maximum ID capture retry limit for repeated fake ID attempts. Default is 3.

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.

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

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.

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

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

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.5

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.

Option to enable vertical ID capture orientation.

Option to set animation duration in Instruction screen for ID.

Options to enable Barcode Recovery after accepted front/back ID captures when local barcode parsing fails. Type: Boolean
nullable: false

Options to enable ID Preview Screen. Type: Boolean
nullable: false

Option to enable animation in Instruction screen for ID.

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.

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

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

Time in seconds to try capturing the barcode during ID back capture before proceeding without a decoded barcode string (may trigger Barcode Recovery flow). Type: Int
nullable: false
example: 5

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

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.

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

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

Functions

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

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.

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.3

Barcode Recovery capture window in seconds, started once the bbox-growth requirement is met (user confirmed to have moved closer). The best readable crop within this window is captured. Type: Int
nullable: false
example: 5

Barcode Recovery "move closer" window in seconds. This timer runs from the moment Barcode Recovery starts, independently of whether a barcode is detected, so the user can never be stuck indefinitely. If the barcode bounding box does not grow enough (user moving closer) before this elapses, recovery completes with the best image gathered so far. Type: Int
nullable: false
example: 10

Option to set a maximum ID capture retry limit for repeated fake ID attempts. Default is 3.

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.

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

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.

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.

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

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.5

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.

Option to enable vertical ID capture orientation.

Option to set animation duration in Instruction screen for ID.

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.

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

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.

Time in seconds to try capturing the barcode during ID back capture before proceeding without a decoded barcode string (may trigger Barcode Recovery flow). Type: Int
nullable: false
example: 5

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

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.

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

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

Options to enable Barcode Recovery after accepted front/back ID captures when local barcode parsing fails. Type: Boolean
nullable: false

Options to enable ID Preview Screen. Type: Boolean
nullable: false

Option to enable animation in Instruction screen for ID.

public final Unit setAllowOverrideWrongDocumentTypeAfterMs(Long allowOverrideWrongDocumentTypeAfterMs)

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

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.

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.3

public final Unit setBarcodeRecoveryCaptureTimeInterval(Integer barcodeRecoveryCaptureTimeInterval)

Barcode Recovery capture window in seconds, started once the bbox-growth requirement is met (user confirmed to have moved closer). The best readable crop within this window is captured. Type: Int
nullable: false
example: 5

public final Unit setBarcodeRecoveryEnabled(Boolean isBarcodeRecoveryEnabled)

Options to enable Barcode Recovery after accepted front/back ID captures when local barcode parsing fails. Type: Boolean
nullable: false

public final Unit setBarcodeRecoveryMoveCloserTimeInterval(Integer barcodeRecoveryMoveCloserTimeInterval)

Barcode Recovery "move closer" window in seconds. This timer runs from the moment Barcode Recovery starts, independently of whether a barcode is detected, so the user can never be stuck indefinitely. If the barcode bounding box does not grow enough (user moving closer) before this elapses, recovery completes with the best image gathered so far. Type: Int
nullable: false
example: 10

public final Unit setConsecutiveFakeIdCaptureLimit(Integer consecutiveFakeIdCaptureLimit)

Option to set a maximum ID capture retry limit for repeated fake ID attempts. Default is 3.

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.

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.

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.

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.

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

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.5

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.

public final Unit setIdCaptureOrientationMode(IDCaptureOrientation idCaptureOrientationMode)

Option to enable vertical ID capture orientation.

public final Unit setIDCapturePreviewEnabled(Boolean isIDCapturePreviewEnabled)

Options to enable ID Preview Screen. Type: Boolean
nullable: false

public final Unit setIdInstructionAnimationDuration(Long idInstructionAnimationDuration)

Option to set animation duration in Instruction screen for ID.

public final Unit setIdInstructionAnimationEnabled(Boolean isIdInstructionAnimationEnabled)

Option to enable animation in Instruction screen for ID.

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.

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.

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.

public final Unit setMissingBarcodeTimeInterval(Integer missingBarcodeTimeInterval)

Time in seconds to try capturing the barcode during ID back capture before proceeding without a decoded barcode string (may trigger Barcode Recovery flow). Type: Int
nullable: false
example: 5

public final Unit setSeparateIdCardCaptureSequence(Boolean separateIdCardCaptureSequence)

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

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.

public final Unit setWrongDocumentTypeHandlingMode(WrongDocumentTypeHandlingMode wrongDocumentTypeHandlingMode)

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

public final Unit setWrongDocumentTypeWarningDelayInSec(Integer wrongDocumentTypeWarningDelayInSec)

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

public abstract Unit writeToParcel(Parcel p0, Integer p1)
Report a docs issue

Copy this context into your team’s issue tracker or an email to support@idmission.com.