Document Scanner
Functions
Link copied to clipboard
Returns a copy of the current configuration.
Link copied to clipboard
Calling this method will reset the polygon smoothing history.
Link copied to clipboard
Tries to scan a polygon from the given image.
Link copied to clipboard
Tries to scan a polygon from the given file.
Link copied to clipboard
Tries to scan a polygon from the given image.
Link copied to clipboard
abstract fun scanInArea(nv21: ByteArray, width: Int, height: Int, frameOrientation: Int = 0, areaRect: Rect? = null): DocumentDetectionResult?
Decode the nv21 within the finder rectangle, and time how long it took.
Link copied to clipboard
Sets the configuration for the document scanner.
Link copied to clipboard
Set the scanning parameters to use.