create Camera Image Analyser
fun createCameraImageAnalyser(ratioDeprecated: Int? = null, ratio: ResolutionSelector? = null): ImageAnalysis
Creates an ImageAnalysis object for a given resolution and format. This builds a UseCase that's used with the cameraProvider and is used to process the frames that are captured