findDetections
fun findDetections(frame: Frame, corners: Array<IntArray>, imageOrientation: Int): MiSnapDocumentDetector.Result
Analyzes the Frame and synchronously returns the result.
Parameters
frame
The Frame containing the document.
corners
The detected document corners.
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.