classify
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.
Parameters
frame
The frame to classify.
imageOrientation
How much to rotate the image so that the document is aligned. Either 0 if the document is aligned with the long side of the image, or 90 if it is not.
classificationRoutines
The list of applicable classification routines to use while classifying, use ClassificationRoutine.ALL to use all routines.
NOTE: the use of specific routines is reserved for advanced use cases.