Skip to content

datasets_backgroundType

datasetsclassOpenCV 5.0.0
import { datasets_backgroundType } from '@banou/opencv-wasm'

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

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

Native enum entries for datasets background type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static woodenBoard

wooden board constant (1), defined by OpenCV for cv::datasets.

woodenBoard: datasets_backgroundTypeValue<1>,

static whitePaper

white paper constant (1+1), defined by OpenCV for cv::datasets.

whitePaper: datasets_backgroundTypeValue<2>,

static paperWithCharacters

paper with characters constant (1+2), defined by OpenCV for cv::datasets.

paperWithCharacters: datasets_backgroundTypeValue<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.