DocumentDetector

abstract class DocumentDetector

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
enum Mode

Functions

Link copied to clipboard
open fun create(context: Context): DocumentDetector
Link copied to clipboard
open fun detectDocument(bitmap: Bitmap): Quadrangle
Detect document in an image bitmap.
open fun detectDocument(image: File): Quadrangle
Detect document in an image file.
open fun detectDocument(imageBuffer: Array<Byte>, previewWidth: Int, previewHeight: Int, previewStride: Int): Quadrangle
Detect document on a YUV buffer.