dnn_ModelFormat
import { dnn_ModelFormat } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSdnn_ModelFormat
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Native enum entries for dnn model format. Pass an entry to enum-typed arguments or its .value to numeric arguments.
Constructors and members
static DNN_MODEL_GENERIC
Some generic model format
DNN_MODEL_GENERIC: dnn_ModelFormatValue<0>,static DNN_MODEL_ONNX
dnn_ModelFormat.DNN_MODEL_ONNX: ONNX model
DNN_MODEL_ONNX: dnn_ModelFormatValue<1>,static DNN_MODEL_TF
dnn_ModelFormat.DNN_MODEL_TF: TF model
DNN_MODEL_TF: dnn_ModelFormatValue<2>,static DNN_MODEL_TFLITE
dnn_ModelFormat.DNN_MODEL_TFLITE: TFLite model
DNN_MODEL_TFLITE: dnn_ModelFormatValue<3>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.