getNmsThresholdAsync method

Future<double> getNmsThresholdAsync()

Implementation

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