extract From Nv21
abstract fun extractFromNv21(nv21: ByteArray, width: Int, height: Int, orientation: Int = 0, documentDataExtractionMode: DocumentDataExtractionMode = DocumentDataExtractionMode.LIVE, areaRect: Rect? = null): DocumentDataExtractionResult?
Scan the image to detect document and extract data from it
Parameters
nv21
image in form of nv21-encoded byte array
orientation
image orientation. Default is 0
area Rect
if non-null - perform scanning only in given area. Default is null
width
image width, pixels
height
image height, pixels
document Data Extraction Mode
extraction mode. Default is LIVE