runPoseNetOnImage static method

Future<List?> runPoseNetOnImage({
  1. required String path,
  2. double imageMean = 127.5,
  3. double imageStd = 127.5,
  4. int numResults = 5,
  5. double threshold = 0.5,
  6. int nmsRadius = 20,
  7. bool asynch = true,
})

Implementation

static Future<List?> runPoseNetOnImage(
    {required String path,
    double imageMean = 127.5,
    double imageStd = 127.5,
    int numResults = 5,
    double threshold = 0.5,
    int nmsRadius = 20,
    bool asynch = true}) async {
  return await _channel.invokeMethod(
    'runPoseNetOnImage',
    {
      "path": path,
      "imageMean": imageMean,
      "imageStd": imageStd,
      "numResults": numResults,
      "threshold": threshold,
      "nmsRadius": nmsRadius,
      "asynch": asynch,
    },
  );
}