Skip to content

Param

Core and matricesclassOpenCV 5.0.0
import { Param } from '@banou/opencv-wasm'

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

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

Constructors and members

static INT

int constant (0), defined by OpenCV for cv::Param.

INT: ParamValue<0>,

static BOOLEAN

boolean constant (1), defined by OpenCV for cv::Param.

BOOLEAN: ParamValue<1>,

static REAL

real constant (2), defined by OpenCV for cv::Param.

REAL: ParamValue<2>,

static STRING

string constant (3), defined by OpenCV for cv::Param.

STRING: ParamValue<3>,

static MAT

mat constant (4), defined by OpenCV for cv::Param.

MAT: ParamValue<4>,

static MAT_VECTOR

mat vector constant (5), defined by OpenCV for cv::Param.

MAT_VECTOR: ParamValue<5>,

static ALGORITHM

algorithm constant (6), defined by OpenCV for cv::Param.

ALGORITHM: ParamValue<6>,

static FLOAT

float constant (7), defined by OpenCV for cv::Param.

FLOAT: ParamValue<7>,

static UNSIGNED_INT

unsigned int constant (8), defined by OpenCV for cv::Param.

UNSIGNED_INT: ParamValue<8>,

static UINT64

uint64 constant (9), defined by OpenCV for cv::Param.

UINT64: ParamValue<9>,

static UCHAR

uchar constant (11), defined by OpenCV for cv::Param.

UCHAR: ParamValue<11>,

static SCALAR

scalar constant (12), defined by OpenCV for cv::Param.

SCALAR: ParamValue<12>

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.