FormXDocumentDetector

FormX Document Detector

Constructors

Link copied to clipboard

Create FormX Document Detector

Functions

Link copied to clipboard
suspend fun detect(image: ImageProxy, bitmap: Bitmap? = null): FormXDocumentDetectorResult

Detect document region from an image

fun detect(image: ImageProxy, onCompleteListener: (result: FormXDocumentDetectorResult) -> Unit)
fun detect(image: ImageProxy, bitmap: Bitmap?, onCompleteListener: (result: FormXDocumentDetectorResult) -> Unit, onFailureListener: (e: Throwable) -> Unit? = null)