Auto Focus Configuration
data class AutoFocusConfiguration(var sensitivityThreshold: Double = 0.02) : DocumentDataExtractorConfigurationElement, Parcelable
Auto-focus configuration. The recognizer will ignore frames that are not focused. This option is enabled by default. This configuration has no effect in SINGLE_SHOT mode.
Properties
Link copied to clipboard
Sensitivity threshold for detecting that autofocus is in progress. The value should be in the range 0.0, 1.0. The lower the value, the more frames might be discarded as not focused. The higher the value, the earlier the focus might be considered as focused. If set to 0.0, the feature is disabled.