runSegmentationOnImage method
Future<Uint8List?>
runSegmentationOnImage({
- required String path,
- double imageMean = 0,
- double imageStd = 255.0,
- List<
int> ? labelColors, - String outputType = "png",
- bool asynch = true,
override
Implementation
@override
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 ?? TfliteNextPlatform.pascalVOCLabelColors,
"outputType": outputType,
"asynch": asynch,
});
}