LightGlueMatcher_create
import { LightGlueMatcher_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSmodelPath, scoreThreshold, backend, target
FUNCTIONLightGlueMatcher_create
RETURN TYPELightGlueMatcher | null
Creates LightGlueMatcher from a model file path.
LightGlueMatcher_create(modelPath: EmbindString, scoreThreshold: number, backend: number, target: number): LightGlueMatcher | null;4 available overloads
LightGlueMatcher_create(modelPath: EmbindString): LightGlueMatcher | null;LightGlueMatcher_create(modelPath: EmbindString, scoreThreshold: number): LightGlueMatcher | null;LightGlueMatcher_create(modelPath: EmbindString, scoreThreshold: number, backend: number): LightGlueMatcher | null;LightGlueMatcher_create(modelPath: EmbindString, scoreThreshold: number, backend: number, target: number): LightGlueMatcher | null;modelPathPath to the ONNX model file.
scoreThresholdMatch confidence threshold.
backendDNN backend
targetDNN target
Returns
The LightGlueMatcher | null 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.