KeyPoint_overlap
import { KeyPoint_overlap } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSkp1, kp2
FUNCTIONKeyPoint_overlap
RETURN TYPEnumber
This method computes overlap for pair of keypoints. Overlap is the ratio between area of keypoint regions' intersection and area of keypoint regions' union (considering keypoint region as circle). If they don't overlap, we get zero. If they coincide at same location with same size, we get 1.
KeyPoint_overlap(kp1: KeyPoint, kp2: KeyPoint): number;kp1First keypoint
kp2Second keypoint
Returns
The number result.
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.