Image Analyzer
Intermediate Image analyzer from cameraX
Parameters
image Analysis Backpressure Strategy
the backpressure strategy applied to the image producer
resolution Selector
the intended resolution for ImageAnalysis
image Analysis Image Queue Depth
the image queue depth of ImageAnalysis.
analyzer
receive images and perform custom processing.
See also
Image Analyzer used to analyze camera frames.
A class wrapper for ImageAnalysis on Android and AVCaptureOutput (e.g AVCaptureMetadataOutput) on iOS, allowing real-time processing for tasks like QR code scanning, face detection, or ML.
Constructors
Link copied to clipboard
constructor(controller: CameraController, imageAnalysisBackpressureStrategy: ImageAnalysisBackpressureStrategy = find(controller.imageAnalysisBackpressureStrategy), resolutionSelector: ResolutionSelector? = null, imageAnalysisImageQueueDepth: Int = controller.imageAnalysisImageQueueDepth, analyzer: ImageAnalysis.Analyzer)
Types
Functions
Link copied to clipboard
fun update(imageAnalysisBackpressureStrategy: ImageAnalysisBackpressureStrategy = find(
controller.imageAnalysisBackpressureStrategy,
), imageAnalysisTargetSize: ResolutionSelector? = controller.imageAnalysisResolutionSelector, imageAnalysisImageQueueDepth: Int = controller.imageAnalysisImageQueueDepth, analyzer: ImageAnalysis.Analyzer = this.analyzer)
Update actual image analysis instance.