Frame

interface Frame

Wrapper over a camera frame, containing the image dimensions, rotation of the image in regards to the device natural orientation, the image format and byte data. NOTE: Frames must be closed after use.

Functions

Link copied to clipboard
abstract fun close()

Closes the frame, this operation makes the frame unusable. Frames must be closed after use.

Properties

Link copied to clipboard
abstract val imageBytes: ByteArray
Link copied to clipboard
abstract val imageFormat: Int
Link copied to clipboard
abstract val imageSize: Size
Link copied to clipboard
abstract val rotationDegrees: Int