runPoseNetOnFrame method
Future<List?>
runPoseNetOnFrame({
- required List<
Uint8List> bytesList, - int imageHeight = 1280,
- int imageWidth = 720,
- double imageMean = 127.5,
- double imageStd = 127.5,
- int rotation = 90,
- int numResults = 5,
- double threshold = 0.5,
- int nmsRadius = 20,
- bool asynch = true,
override
Implementation
@override
Future<List?> runPoseNetOnFrame({
required List<Uint8List> bytesList,
int imageHeight = 1280,
int imageWidth = 720,
double imageMean = 127.5,
double imageStd = 127.5,
int rotation= 90,
int numResults = 5,
double threshold = 0.5,
int nmsRadius = 20,
bool asynch = true,
}) async {
return await _channel.invokeMethod('runPoseNetOnFrame', {
"bytesList": bytesList,
"imageHeight": imageHeight,
"imageWidth": imageWidth,
"imageMean": imageMean,
"imageStd": imageStd,
"rotation": rotation,
"numResults": numResults,
"threshold": threshold,
"nmsRadius": nmsRadius,
"asynch": asynch,
});
}