Skip to content

ALIKED

Features and matchingclassOpenCV 5.0.0
import { ALIKED } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSALIKED
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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;
modelPath

Path to the ONNX model file.

params

ALIKED parameters.

Returns

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;
Returns

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.