Image Analyzer
class ImageAnalyzer(cameraState: CameraState, imageAnalysisBackpressureStrategy: ImageAnalysisBackpressureStrategy, imageAnalysisTargetSize: ImageTargetSize?, imageAnalysisImageQueueDepth: Int, analyzer: ImageAnalysis.Analyzer)
Intermediate Image analyzer from cameraX
Parameters
image Analysis Backpressure Strategy
the backpressure strategy applied to the image producer
image Analysis Target Size
the intended output size for ImageAnalysis
image Analysis Image Queue Depth
the image queue depth of ImageAnalysis.
analyzer
receive images and perform custom processing.
See also
Constructors
Link copied to clipboard
constructor(cameraState: CameraState, imageAnalysisBackpressureStrategy: ImageAnalysisBackpressureStrategy, imageAnalysisTargetSize: ImageTargetSize?, imageAnalysisImageQueueDepth: Int, analyzer: ImageAnalysis.Analyzer)
Functions
Link copied to clipboard
fun update(imageAnalysisBackpressureStrategy: ImageAnalysisBackpressureStrategy = ImageAnalysisBackpressureStrategy.find(
cameraState.imageAnalysisBackpressureStrategy
), imageAnalysisTargetSize: ImageTargetSize? = ImageTargetSize(cameraState.imageAnalysisTargetSize), imageAnalysisImageQueueDepth: Int = cameraState.imageAnalysisImageQueueDepth, analyzer: ImageAnalysis.Analyzer = this.analyzer)
Update actual image analysis instance.