extractFromJpeg

open override fun extractFromJpeg(jpeg: ByteArray, orientation: Int, documentDataExtractionMode: DocumentDataExtractionMode): 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