Skip to content

datasets_imageType

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

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

ARGUMENTSConstructor or factory
CLASSdatasets_imageType
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 image type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static LEFT

left constant (0), defined by OpenCV for cv::datasets.

LEFT: datasets_imageTypeValue<0>,

static RIGHT

right constant (0+1), defined by OpenCV for cv::datasets.

RIGHT: datasets_imageTypeValue<1>,

static LADYBUG

ladybug constant (0+2), defined by OpenCV for cv::datasets.

LADYBUG: datasets_imageTypeValue<2>

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.