runPix2PixOnFrame static method
Implementation
static Future<Uint8List?> runPix2PixOnFrame({
required List<Uint8List> bytesList,
int imageHeight = 1280,
int imageWidth = 720,
double imageMean = 0,
double imageStd = 255.0,
int rotation: 90, // Android only
String outputType = "png",
bool asynch = true,
}) async {
return await _channel.invokeMethod(
'runPix2PixOnFrame',
{
"bytesList": bytesList,
"imageHeight": imageHeight,
"imageWidth": imageWidth,
"imageMean": imageMean,
"imageStd": imageStd,
"rotation": rotation,
"asynch": asynch,
"outputType": outputType,
},
);
}