Document Data Extractor
interface DocumentDataExtractor
Component to scan image, detect different documents of known types, perform image optimization, cropping and (optionally) fields detection and fields' data extraction
Inheritors
Functions
Link copied to clipboard
Returns a copy of the current configuration.
Link copied to clipboard
abstract fun extractFromBitmap(bitmap: Bitmap, orientation: Int = 0, documentDataExtractionMode: DocumentDataExtractionMode = DocumentDataExtractionMode.LIVE): DocumentDataExtractionResult?
Scan the image to detect document and extract data from it
Link copied to clipboard
abstract fun extractFromJpeg(jpeg: ByteArray, orientation: Int = 0, documentDataExtractionMode: DocumentDataExtractionMode = DocumentDataExtractionMode.LIVE): DocumentDataExtractionResult?
Scan the image to detect document and extract data from it
Link copied to clipboard
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
Link copied to clipboard
Sets the configuration for the document data extractor.
Link copied to clipboard
Verify the document parts