CameraFrame

class CameraFrame(val width: Int, val height: Int, val rotationDegrees: Int, val platformHandle: Any? = null)

A camera video frame captured during user interaction.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, rotationDegrees: Int, platformHandle: Any? = null)
constructor(width: Int, height: Int, rotationDegrees: Int)

Properties

Link copied to clipboard
val height: Int

height of the frame in pixels.

Link copied to clipboard

optional platform-specific handle (e.g. Android ImageProxy or iOS UIImage) for zero-copy hardware acceleration if supported by the matcher.

Link copied to clipboard

rotation in degrees clockwise (0, 90, 180, 270) to orient the frame upright.

Link copied to clipboard

Height in pixels after applying rotationDegrees to orient upright.

Link copied to clipboard

Width in pixels after applying rotationDegrees to orient upright.

Link copied to clipboard
val width: Int

width of the frame in pixels.