Skip to content

KeyPoint_convert

Core and matricesfunctionOpenCV 5.0.0
import { KeyPoint_convert } from '@banou/opencv-wasm'

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

ARGUMENTSkeypoints
FUNCTIONKeyPoint_convert
RETURN TYPEPoint2fVector
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

This method converts vector of keypoints to vector of points or the reverse, where each keypoint is assigned the same size and the same orientation.

KeyPoint_convert(keypoints: KeyPointVector): Point2fVector;
keypoints

Keypoints obtained from any feature detection algorithm like SIFT/SURF/ORB

Returns

The Point2fVector result. Release returned native handles with using or delete(), including handles nested in results.

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.