Skip to content

xfeatures2d_LATCH_create

xfeatures2dfunctionOpenCV 5.0.0
import { xfeatures2d_LATCH_create } from '@banou/opencv-wasm'

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

ARGUMENTSbytes, rotationInvariance, half_ssd_size, sigma
FUNCTIONxfeatures2d_LATCH_create
RETURN TYPExfeatures2d_LATCH | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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

bytes argument (number).

rotationInvariance

rotation invariance argument (boolean).

half_ssd_size

half ssd size argument (number).

sigma

sigma argument (number).

Returns

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.