Skip to content

DMatch

Core and matricestypeOpenCV 5.0.0
import type { DMatch } from '@banou/opencv-wasm'

DMatch ///////////////////////////////// Class for matching keypoint descriptors

query descriptor index, train descriptor index, train image index, and distance between descriptors.

export type DMatch = {
  queryIdx: number,
  trainIdx: number,
  imgIdx: number,
  distance: number
};

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.