getNmsThresholdAsync method

Future<double> getNmsThresholdAsync()

Implementation

Future<double> getNmsThresholdAsync() async {
  final rval = cvRunAsync<double>(
      (callback) => cffi.FaceDetectorYN_GetNMSThreshold_Async(ref, callback), (c, p) {
    final rval = p.cast<ffi.Float>().value;
    calloc.free(p);
    return c.complete(rval);
  });
  return rval;
}