FrameHandler

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Frame(val frame: ByteArray, val width: Int, val height: Int, val frameOrientation: Int, val finderRect: Rect?, val visibleRect: RectF?, val finderInnerThresholdPx: Int, val finderOuterThresholdPx: Int, val cameraModule: CameraModule, val analyzerFrameMirrored: Boolean)

Represents captured frame data and bounds.

Properties

Link copied to clipboard
open var isEnabled: Boolean

Toggle frame processing.

Functions

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

Invoked for every new camera preview frame.

Link copied to clipboard

Internal method that is used by the camera view to process frames.