Package-level declarations

Types

Link copied to clipboard
data class AnalyzerSettings(val captureSingleSide: Boolean = false, val returnTransformedDocumentImage: Boolean = true, val captureStrategy: CaptureStrategy = CaptureStrategy.Default, @IntRange(from = 150, to = 400) val minimumDocumentDpi: Int = 230, val adjustMinimumDocumentDpi: Boolean = true, @FloatRange(from = 0.0, to = 1.0) val documentFramingMargin: Float = 0.01f, val keepMarginOnTransformedDocumentImage: Boolean = false, val keepDpiOnTransformedDocumentImage: Boolean = false, val lightingThresholds: LightingThresholds = LightingThresholds(), val blurPolicy: BlurPolicy = BlurPolicy.Normal, val glarePolicy: GlarePolicy = GlarePolicy.Normal, @FloatRange(from = 0.0, to = 1.0) val handOcclusionThreshold: Float = 0.05f, val tiltPolicy: TiltPolicy = TiltPolicy.Normal, val enforcedDocumentGroup: EnforcedDocumentGroup? = null) : Parcelable

Settings for the capture analyzer.

Link copied to clipboard

Policy used to discard frames with blurred documents.

Link copied to clipboard

Capture strategy used to select the best frame

Link copied to clipboard

Enforces a specific document group, overriding the analyzer’s document classification.

Link copied to clipboard

Policy used to discard frames with glare detected on the document.

Link copied to clipboard
data class LightingThresholds(@FloatRange(from = 0.0, to = 1.0) val tooDarkThreshold: Float = 0.99f, @FloatRange(from = 0.0, to = 1.0) val tooBrightThreshold: Float = 0.99f) : Parcelable

Parameters for lighting estimation.

Link copied to clipboard

Policy used to detect tilted documents.