xfeatures2d_LATCH_create
import { xfeatures2d_LATCH_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Create an owned xfeatures2d_LATCH instance with the supplied configuration.
LATCH Descriptor latch Class for computing the LATCH descriptor. If you find this code useful, please add a reference to the following paper in your work: Gil Levi and Tal Hassner, "LATCH: Learned Arrangements of Three Patch Codes", arXiv preprint arXiv:1501.03719, 15 Jan. 2015
xfeatures2d_LATCH_create(bytes: number, rotationInvariance: boolean, half_ssd_size: number, sigma: number): xfeatures2d_LATCH | null;5 available overloads
xfeatures2d_LATCH_create(): xfeatures2d_LATCH | null;xfeatures2d_LATCH_create(bytes: number): xfeatures2d_LATCH | null;xfeatures2d_LATCH_create(bytes: number, rotationInvariance: boolean): xfeatures2d_LATCH | null;xfeatures2d_LATCH_create(bytes: number, rotationInvariance: boolean, half_ssd_size: number): xfeatures2d_LATCH | null;xfeatures2d_LATCH_create(bytes: number, rotationInvariance: boolean, half_ssd_size: number, sigma: number): xfeatures2d_LATCH | null;bytesbytes argument (number).
rotationInvariancerotation invariance argument (boolean).
half_ssd_sizehalf ssd size argument (number).
sigmasigma argument (number).
The xfeatures2d_LATCH | 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.