Skip to content

ml_ErrorTypes

mlclassOpenCV 5.0.0
import { ml_ErrorTypes } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSml_ErrorTypes
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

ml_ErrorTypes: %Error types

Constructors and members

static TEST_ERROR

test error constant (0), defined by OpenCV for cv::ml.

TEST_ERROR: ml_ErrorTypesValue<0>,

static TRAIN_ERROR

train error constant (1), defined by OpenCV for cv::ml.

TRAIN_ERROR: ml_ErrorTypesValue<1>

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.