MarkerTypes
import { MarkerTypes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSMarkerTypes
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Possible set of marker types used for the cv::drawMarker function
Constructors and members
static MARKER_CROSS
A crosshair marker shape
MARKER_CROSS: MarkerTypesValue<0>,static MARKER_TILTED_CROSS
A 45 degree tilted crosshair marker shape
MARKER_TILTED_CROSS: MarkerTypesValue<1>,static MARKER_STAR
A star marker shape, combination of cross and tilted cross
MARKER_STAR: MarkerTypesValue<2>,static MARKER_DIAMOND
A diamond marker shape
MARKER_DIAMOND: MarkerTypesValue<3>,static MARKER_SQUARE
A square marker shape
MARKER_SQUARE: MarkerTypesValue<4>,static MARKER_TRIANGLE_UP
An upwards pointing triangle marker shape
MARKER_TRIANGLE_UP: MarkerTypesValue<5>,static MARKER_TRIANGLE_DOWN
A downwards pointing triangle marker shape
MARKER_TRIANGLE_DOWN: MarkerTypesValue<6>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.