extractFromJpeg

abstract fun extractFromJpeg(jpeg: ByteArray, orientation: Int = 0, documentDataExtractionMode: DocumentDataExtractionMode = DocumentDataExtractionMode.LIVE): DocumentDataExtractionResult?

Scan the image to detect document and extract data from it

Parameters

jpeg

image in form of jpeg-encoded byte array

orientation

image orientation. Default is 0

documentDataExtractionMode

extraction mode. Default is LIVE