Android CameraX multiple Analyzers

Viewed 265

Is it possible to add multiple ImageAnalysis.Analyzer instances (use cases) at the same time using CameraX API?

For instance:

You need to run an Object Detector and Barcode Detector simultaneously.

Thanks in advance!

2 Answers

Setting an analyzer function replaces any previous analyzer. Only one analyzer can be set at any time.

Setting an analyzer will signal to the camera that it should begin sending data. The stream of data can be stopped by calling clearAnalyzer()

Related