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.default_(); not supported yet
using((arena) {
final cname = name.toNativeUtf8(allocator: arena);
cvRun(() => cffi.Net_SetInput(ref, blob.ref, cname.cast()));
});
}