DocumentFinder

class DocumentFinder(context: Context)

Tells if there is a document in a given image.

This object is somewhat expensive to instantiate. Keep a reference around if you need to rely on it multiple times in a row.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard

The type of document detected by the document finder.

Link copied to clipboard
data class Result(val imageType: DocumentFinder.ImageType)

The result of a document finder detection.