forwardAsync method

Future<Mat> forwardAsync({
  1. String outputName = "",
})

Implementation

Future<Mat> forwardAsync({String outputName = ""}) async {
  final m = Mat.empty();
  final cOutName = outputName.toNativeUtf8().cast<ffi.Char>();
  return cvRunAsync0((callback) => cdnn.cv_dnn_Net_forward(ref, cOutName, m.ptr, callback), (c) {
    calloc.free(cOutName);
    return c.complete(m);
  });
}