runSegmentationOnBinary method

  1. @override
Future<Uint8List?> runSegmentationOnBinary({
  1. required Uint8List binary,
  2. List<int>? labelColors,
  3. String outputType = "png",
  4. bool asynch = true,
})
override

Implementation

@override
Future<Uint8List?> runSegmentationOnBinary({required Uint8List binary, List<int>? labelColors, String outputType = "png", bool asynch = true}) async {
  return await _channel.invokeMethod('runSegmentationOnBinary', {
    "binary": binary,
    "labelColors": labelColors ?? TfliteNextPlatform.pascalVOCLabelColors,
    "outputType": outputType,
    "asynch": asynch,
  });
}