MiSnapDocumentClassifier

Classifies Frame objects into document types.

NOTE: Requires a license with the on device classification and identity documents analysis features enabled.

Constructors

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

NOTE: Requires a license with the on device classification and identity documents analysis features enabled.

Types

Link copied to clipboard

Available classification routines, these routines control the execution of different analyzers and classifiers that target documents with specific features.

Link copied to clipboard
sealed class Result

The result of the classification analysis.

Functions

Link copied to clipboard
fun classify(frame: Frame, imageOrientation: Int, classificationRoutines: List<MiSnapDocumentClassifier.ClassificationRoutine> = listOf(ClassificationRoutine.ALL)): MiSnapDocumentClassifier.Result

Classifies a document based on the contents of the frame.

Link copied to clipboard
fun release()

Releases the resources used by the document classifier.