extract From Nv21
open override fun extractFromNv21(nv21: ByteArray, width: Int, height: Int, orientation: Int, documentDataExtractionMode: DocumentDataExtractionMode, areaRect: Rect?): 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