runSegmentationOnImage static method
Implementation
static Future<Uint8List?> runSegmentationOnImage(
{required String path,
double imageMean = 0,
double imageStd = 255.0,
List<int>? labelColors,
String outputType = "png",
bool asynch = true}) async {
return await _channel.invokeMethod(
'runSegmentationOnImage',
{
"path": path,
"imageMean": imageMean,
"imageStd": imageStd,
"labelColors": labelColors ?? pascalVOCLabelColors,
"outputType": outputType,
"asynch": asynch,
},
);
}