Skip to content

line_descriptor_drawKeylines

line_descriptorfunctionOpenCV 5.0.0
import { line_descriptor_drawKeylines } from '@banou/opencv-wasm'

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

ARGUMENTSimage, keylines, outImage, color
FUNCTIONline_descriptor_drawKeylines
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Draws keylines.

line_descriptor_drawKeylines(image: Mat, keylines: line_descriptor__KeyLineVector, outImage: Mat, color: Scalar, flags: number): void;
3 available overloads
line_descriptor_drawKeylines(image: Mat, keylines: line_descriptor__KeyLineVector, outImage: Mat): void;
line_descriptor_drawKeylines(image: Mat, keylines: line_descriptor__KeyLineVector, outImage: Mat, color: Scalar): void;
line_descriptor_drawKeylines(image: Mat, keylines: line_descriptor__KeyLineVector, outImage: Mat, color: Scalar, flags: number): void;
image

input image

keylines

keylines to be drawn

outImage

Output destination, filled by the native operation. output image to draw on

color

color of lines to be drawn (if set to defaul value, color is chosen randomly)

flags

drawing flags

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.