ximgproc_contourSampling
import { ximgproc_contourSampling } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, out_, nbElt
FUNCTIONximgproc_contourSampling
RETURN TYPEvoid
Contour sampling .
ximgproc_contourSampling(src: Mat, out_: Mat, nbElt: number): void;srccontour type vector<Point> , vector<Point2f> or vector<Point2d>
out_Output destination, filled by the native operation. Mat of type CV_64FC2 and nbElt rows
nbEltnumber of points in out contour
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.