runPix2PixOnImage static method

Future<Uint8List?> runPix2PixOnImage({
  1. required String path,
  2. double imageMean = 0,
  3. double imageStd = 255.0,
  4. String outputType = "png",
  5. bool asynch = true,
})

Implementation

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