Skip to content

FaceRecognizerSF_DisType

objdetectclassOpenCV 5.0.0
import { FaceRecognizerSF_DisType } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSFaceRecognizerSF_DisType
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Definition of distance used for calculating the distance between two face features

Constructors and members

static FR_COSINE

Definition of distance used for calculating the distance between two face features

FR_COSINE: FaceRecognizerSF_DisTypeValue<0>,

static FR_NORM_L2

Definition of distance used for calculating the distance between two face features

FR_NORM_L2: FaceRecognizerSF_DisTypeValue<1>

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.