runModelOnImage method
Future<List?>
runModelOnImage({
- required String path,
- double imageMean = 117.0,
- double imageStd = 1.0,
- int numResults = 5,
- double threshold = 0.1,
- 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,
});
}