Skip to content

VideoCaptureOBSensorGenerators

videoioclassOpenCV 5.0.0
import { VideoCaptureOBSensorGenerators } from '@banou/opencv-wasm'

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

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

OBSENSOR stream generator

Constructors and members

static CAP_OBSENSOR_DEPTH_GENERATOR

cap obsensor depth generator constant (1 << 29), defined by OpenCV for cv.

CAP_OBSENSOR_DEPTH_GENERATOR: VideoCaptureOBSensorGeneratorsValue<536870912>,

static CAP_OBSENSOR_IMAGE_GENERATOR

cap obsensor image generator constant (1 << 28), defined by OpenCV for cv.

CAP_OBSENSOR_IMAGE_GENERATOR: VideoCaptureOBSensorGeneratorsValue<268435456>,

static CAP_OBSENSOR_IR_GENERATOR

cap obsensor ir generator constant (1 << 27), defined by OpenCV for cv.

CAP_OBSENSOR_IR_GENERATOR: VideoCaptureOBSensorGeneratorsValue<134217728>,

static CAP_OBSENSOR_GENERATORS_MASK

cap obsensor generators mask constant (CAP_OBSENSOR_DEPTH_GENERATOR + CAP_OBSENSOR_IMAGE_GENERATOR + CAP_OBSENSOR_IR_GENERATOR), defined by OpenCV for cv.

CAP_OBSENSOR_GENERATORS_MASK: VideoCaptureOBSensorGeneratorsValue<939524096>

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.