Skip to content

ml_StatModel_Flags

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

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

ARGUMENTSConstructor or factory
CLASSml_StatModel_Flags
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.

Predict options

Constructors and members

static UPDATE_MODEL

update model constant (1), defined by OpenCV for cv::ml::StatModel.

UPDATE_MODEL: ml_StatModel_FlagsValue<1>,

static RAW_OUTPUT

makes the method return the raw results (the sum), not the class label

RAW_OUTPUT: ml_StatModel_FlagsValue<1>,

static COMPRESSED_INPUT

makes the method return the raw results (the sum), not the class label

COMPRESSED_INPUT: ml_StatModel_FlagsValue<2>,

static PREPROCESSED_INPUT

preprocessed input constant (4), defined by OpenCV for cv::ml::StatModel.

PREPROCESSED_INPUT: ml_StatModel_FlagsValue<4>

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.