CameraInputDetails

data class CameraInputDetails(val cameraFacing: CameraLensFacing, val cameraFrameWidth: Int, val cameraFrameHeight: Int, val viewPortAspectRatio: Double, val roiWidth: Int, val roiHeight: Int)

Class representing camera input information for image analysis.

Constructors

Link copied to clipboard
constructor(cameraFacing: CameraLensFacing, cameraFrameWidth: Int, cameraFrameHeight: Int, viewPortAspectRatio: Double, roiWidth: Int, roiHeight: Int)

Properties

Link copied to clipboard

Camera lens facing of the camera used for the obtaining images.

Link copied to clipboard

Full height of the input image used for analysis, as provided by the camera - matches the camera resolution selected for image analysis.

Link copied to clipboard

Full width of the input image used for analysis, as provided by the camera - matches the camera resolution selected for image analysis.

Link copied to clipboard

Height of the Region of Interest (ROI), matching the visible area of the input image in the preview that is being analysed.

Link copied to clipboard

Width of the Region of Interest (ROI), matching the visible area of the input image in the preview that is being analysed.

Link copied to clipboard

Aspect ratio of the preview region visible on the screen.