start method
Implementation
Future<bool> start() async {
if (onImageListener == null || imageSubscription != null) {
return false;
}
await CamerawesomePlugin.startAnalysis();
imageSubscription = _images$?.listen((event) async {
await onImageListener!(AnalysisImage.from(event));
await CamerawesomePlugin.receivedImageFromStream();
});
_analysisEnabled = true;
printLog("...AnalysisController started");
return _analysisEnabled;
}