ALIKED
import { ALIKED } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits Feature2D.
ALIKED feature detector and descriptor extractor.
ALIKED (A Lightweight Image KEYpoint Detector) is a CNN-based feature detector and descriptor extractor, as described in [Zhao23] . It produces 128-dimensional float descriptors and keypoints with sub-pixel accuracy.
The model expects RGB input [1,3,H,W] and internally converts BGR images to RGB.
Constructors and members
static create
Creates ALIKED from a model file path.
create(modelPath: EmbindString, params: ALIKED_Params): ALIKED | null;2 available overloads
create(modelPath: EmbindString): ALIKED | null;create(modelPath: EmbindString, params: ALIKED_Params): ALIKED | null;modelPathPath to the ONNX model file.
paramsALIKED parameters.
The ALIKED | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this 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.