DocumentScannerFrameHandler

Performs document scanning on camera preview frames. Outputs results via DocumentScannerFrameHandler.ResultHandler (.addResultHandler).

Preview frame considered intercepted if at least one DocumentScannerFrameHandler.ResultHandler returns true from DocumentScannerFrameHandler.ResultHandler.handle (FrameHandlerResult)}

See also

Constructors

Link copied to clipboard
constructor(context: Context, documentScanner: DocumentScanner)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Document scanning results alongside with information about frame

Link copied to clipboard

Successor-class needed for cross-platform implementation

Link copied to clipboard

Continuously notified about document scanning results.

Functions

Link copied to clipboard

Registers result handler which will be notified about document scanning results.

Link copied to clipboard

Unregisters all handlers.

Link copied to clipboard
open override fun handleFrame(previewFrame: FrameHandler.Frame): Boolean

Invoked for every new camera preview frame.

Link copied to clipboard