setupAnalysis static method

Future<void> setupAnalysis({
  1. int width = 0,
  2. double? maxFramesPerSecond,
  3. required InputAnalysisImageFormat format,
  4. required bool autoStart,
})

Implementation

static Future<void> setupAnalysis({
  int width = 0,
  double? maxFramesPerSecond,
  required InputAnalysisImageFormat format,
  required bool autoStart,
}) async {
  return CameraInterface().setupImageAnalysisStream(
    format.name,
    width,
    maxFramesPerSecond,
    autoStart,
  );
}