Skip to content

linemod_drawFeatures

rgbdfunctionOpenCV 5.0.0
import { linemod_drawFeatures } from '@banou/opencv-wasm'

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

ARGUMENTSimg, templates, tl, size
FUNCTIONlinemod_drawFeatures
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Debug function to draw linemod features

linemod_drawFeatures(img: Mat, templates: linemod__TemplateVector, tl: Point, size: number): void;
2 available overloads
linemod_drawFeatures(img: Mat, templates: linemod__TemplateVector, tl: Point): void;
linemod_drawFeatures(img: Mat, templates: linemod__TemplateVector, tl: Point, size: number): void;
img

Input/output value, modified by the native operation. param: templates see Detector::addTemplate

templates

templates argument (linemod__TemplateVector).

tl

template bbox top-left offset see Detector::addTemplate

size

marker size see cv::drawMarker

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.