CameraFrame
data class CameraFrame(val cameraImage: CameraImage, val width: Int, val height: Int, val rotation: Int, val previewTransformation: Matrix)
Type containing a frame captured from the Camera composable.
Constructors
Link copied to clipboard
constructor(cameraImage: CameraImage, width: Int, height: Int, rotation: Int, previewTransformation: Matrix)
Properties
Link copied to clipboard
The platform-specific image.
Link copied to clipboard
Determine if the rotation angle indicates the camera was used from a landscape phone orientation mode.
Link copied to clipboard
A matrix to convert from coordinates in CameraImage to coordinates in the preview.
Functions
Link copied to clipboard
Converts this compose CameraFrame to an FacematchCameraFrame.
Link copied to clipboard
Converts this compose CameraFrame to an FacematchCameraFrame.