setInput method
SetInput sets the new value for the layer output blob.
For further details, please see: https://docs.opencv.org/4.x/db/d30/classcv_1_1dnn_1_1Net.html#a5e74adacffd6aa53d56046581de7fcbd
Implementation
void setInput(InputArray blob, {String name = "", double scalefactor = 1.0, Scalar? mean}) {
mean ??= Scalar();
final cname = name.toNativeUtf8();
cvRun(() => cdnn.cv_dnn_Net_setInput(ref, blob.ref, cname.cast(), scalefactor, mean!.ref, ffi.nullptr));
calloc.free(cname);
}