Skip to content

GShape

gapiclassOpenCV 5.0.0
import { GShape } from '@banou/opencv-wasm'

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

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

namespace detail This definition is here because it is reused by both public(?) and internal modules. Keeping it here wouldn't expose public details (e.g., API-level) to components which are internal and operate on a lower-level entities (e.g., compiler, backends). FIXME: merge with ArgKind? FIXME: replace with variant[format desc]?

Constructors and members

static GMAT

gmat constant (0), defined by OpenCV for cv::GShape.

GMAT: GShapeValue<0>,

static GSCALAR

gscalar constant (1), defined by OpenCV for cv::GShape.

GSCALAR: GShapeValue<1>,

static GARRAY

garray constant (2), defined by OpenCV for cv::GShape.

GARRAY: GShapeValue<2>,

static GOPAQUE

gopaque constant (3), defined by OpenCV for cv::GShape.

GOPAQUE: GShapeValue<3>,

static GFRAME

gframe constant (4), defined by OpenCV for cv::GShape.

GFRAME: GShapeValue<4>

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.