DocumentDetector

Document Detector component.

Types

Link copied to clipboard
data class Document(val confidence: Double, val position: DetectionPosition, val widthToHeightRatio: Double, val quality: DocumentQuality)

Detected document in the image.

Functions

Link copied to clipboard
abstract fun detect(image: Image, limit: Int = 1): List<DocumentDetector.Document>

Detect documents in the image. This operation should be called on a background thread.