setInputAsync method
Future<void>
setInputAsync(
- InputArray blob, {
- String name = "",
- double scalefactor = 1.0,
- Scalar? mean,
Implementation
Future<void> setInputAsync(
InputArray blob, {
String name = "",
double scalefactor = 1.0,
Scalar? mean,
}) async {
mean ??= Scalar();
final cname = name.toNativeUtf8();
return cvRunAsync0(
(callback) => cdnn.cv_dnn_Net_setInput(ref, blob.ref, cname.cast(), scalefactor, mean!.ref, callback),
(c) {
calloc.free(cname);
c.complete();
},
);
}