DescriptorMatcher_create1
import { DescriptorMatcher_create1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSdescriptorMatcherType
FUNCTIONDescriptorMatcher_create1
RETURN TYPEDescriptorMatcher | null
Creates a descriptor matcher of a given type with the default parameters (using default constructor).
DescriptorMatcher_create1(descriptorMatcherType: number): 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.