forwardAsync method

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

Implementation

Future<Mat> forwardAsync({String outputName = ""}) async {
  final rval = cvRunAsync<Mat>(
    (callback) => cdnn.Net_Forward_Async(ref, outputName.toNativeUtf8().cast<ffi.Char>(), callback),
    (c, result) => c.complete(Mat.fromPointer(result.cast<cdnn.Mat>())),
  );
  return rval;
}