DescriptorMatcher_create
import { DescriptorMatcher_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSdescriptorMatcherType
FUNCTIONDescriptorMatcher_create
RETURN TYPEDescriptorMatcher | null
Creates a descriptor matcher of a given type with the default parameters (using default constructor).
DescriptorMatcher_create(descriptorMatcherType: EmbindString): DescriptorMatcher | null;descriptorMatcherTypeDescriptor matcher type. Now the following matcher types are supported:
BruteForce(it uses L2 )BruteForce-L1BruteForce-HammingBruteForce-Hamming(2)FlannBased
Returns
The DescriptorMatcher | 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.