dnn_ArgKind
import { dnn_ArgKind } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSdnn_ArgKind
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Indicate that an actual data is on CPU.
Constructors and members
static DNN_ARG_EMPTY
valid only for Arg.idx==0. It's "no-arg"
DNN_ARG_EMPTY: dnn_ArgKindValue<0>,static DNN_ARG_CONST
a constant argument.
DNN_ARG_CONST: dnn_ArgKindValue<1>,static DNN_ARG_INPUT
input of the whole model. Before Net::forward() or in Net::forward() all inputs must be set
DNN_ARG_INPUT: dnn_ArgKindValue<2>,static DNN_ARG_OUTPUT
output of the model.
DNN_ARG_OUTPUT: dnn_ArgKindValue<3>,static DNN_ARG_TEMP
intermediate result, a result of some operation and input to some other operation(s).
DNN_ARG_TEMP: dnn_ArgKindValue<4>,static DNN_ARG_PATTERN
not used for now
DNN_ARG_PATTERN: dnn_ArgKindValue<5>These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.