line_descriptor_drawKeylines
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
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;imageinput image
keylineskeylines to be drawn
outImageOutput destination, filled by the native operation. output image to draw on
colorcolor of lines to be drawn (if set to defaul value, color is chosen randomly)
flagsdrawing 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.