CameraX

data class CameraX(var cameraModule: CameraModule = CameraModule.BACK, var mirrorAnalyzerFrame: Boolean = false, var forceMaxSnappingSize: Boolean = false, var forceMaxSnappingQuality: Boolean = false, var customAnalyzerFpsLimit: Float? = null) : CameraViewType

Android proprietary CameraX-library-based implementation.

Constructors

Link copied to clipboard
constructor(cameraModule: CameraModule = CameraModule.BACK, mirrorAnalyzerFrame: Boolean = false, forceMaxSnappingSize: Boolean = false, forceMaxSnappingQuality: Boolean = false, customAnalyzerFpsLimit: Float? = null)

Properties

Link copied to clipboard

Camera module to use.

Link copied to clipboard

Limit the frame rate of the camera analyzer. By default, the frame rate is set to the maximum possible value.

Link copied to clipboard

Set whether camera should force maximum possible quality of snapped picture. As a result snapping speed could be significantly slower and result image could be bigger. By default set to false This parameter works only with ScanbotCameraXView enabled

Link copied to clipboard

Set whether camera should force maximum possible size of snapped picture or use maximum size that available with the same aspect ratio as preview by default set to false This parameter works only with ScanbotCameraXView enabled

Link copied to clipboard

Set whether camera should use the front camera in mirror mode for data detection. Helps with detection of mrz and other ocr related data with front camera. By default, it is set to true.