Skip to content

CameraModel

Calibration and geometryclassOpenCV 5.0.0
import { CameraModel } from '@banou/opencv-wasm'

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

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

Maximal size of camera internal parameters (initrinsics) vector

Constructors and members

static CALIB_MODEL_PINHOLE

Pinhole camera model

CALIB_MODEL_PINHOLE: CameraModelValue<0>,

static CALIB_MODEL_FISHEYE

Fisheye camera model

CALIB_MODEL_FISHEYE: CameraModelValue<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.