runModelOnImage method

  1. @override
Future<List?> runModelOnImage({
  1. required String path,
  2. double imageMean = 117.0,
  3. double imageStd = 1.0,
  4. int numResults = 5,
  5. double threshold = 0.1,
  6. bool asynch = true,
})
override

Implementation

@override
Future<List?> runModelOnImage({
  required String path,
  double imageMean = 117.0,
  double imageStd = 1.0,
  int numResults = 5,
  double threshold = 0.1,
  bool asynch = true,
}) async {
  return await _channel.invokeMethod("runModelOnImage", {
    "path": path,
    "imageMean": imageMean,
    "imageStd": imageStd,
    "numResults": numResults,
    "threshold": threshold,
    "asynch": asynch,
  });
}