MiSnapDocumentDetector

Analyzes the provided Frame to detect the presence of certain documents.

NOTE: Requires a license with the nfc or the on device classification feature enabled.

Constructors

Link copied to clipboard
constructor(license: String, vararg requestedDetectors: MiSnapDocumentDetector.DetectorType)

Types

Link copied to clipboard

Supported document detection results.

Link copied to clipboard

Supported document detectors.

Link copied to clipboard
sealed class Result

Result of analyzing a Frame.

Functions

Link copied to clipboard
fun findDetections(frame: Frame, corners: Array<IntArray>, imageOrientation: Int): MiSnapDocumentDetector.Result

Analyzes the Frame and synchronously returns the result.