MiSnapDocumentAnalyzer

Analyzes document Frame objects to determine whether the frame is good enough as per the configured IQAs and thresholds.

NOTE: Requires a license with the identity documents or deposits feature enabled depending on the target use case. If the on device extraction feature is enabled then the extracted data of applicable documents will be returned as part of the Result if requested.

Constructors

Link copied to clipboard
constructor(activityContext: Context, settings: MiSnapSettings.Analysis.Document, license: String)

NOTE: Requires a license with the identity documents or deposits feature enabled depending on the target use case.

Types

Link copied to clipboard
sealed class Result

Result of analyzing a Frame.

Functions

Link copied to clipboard

Analyzes a Frame and processes the results into a MiSnapDocumentAnalyzer.Result synchronously.

Link copied to clipboard
fun release()

Releases all resources and callbacks held by the analyzer. Should only be called once, after which the analyzer should not be used.