runPoseNetOnFrame method

  1. @override
Future<List?> runPoseNetOnFrame({
  1. required List<Uint8List> bytesList,
  2. int imageHeight = 1280,
  3. int imageWidth = 720,
  4. double imageMean = 127.5,
  5. double imageStd = 127.5,
  6. int rotation = 90,
  7. int numResults = 5,
  8. double threshold = 0.5,
  9. int nmsRadius = 20,
  10. 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,
  });
}