Table of Contents

Method Match

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Match(InputArray, InputArray, FaceRecognizerSFDisType)

Calculates the distance between two face features.

public double Match(InputArray faceFeature1, InputArray faceFeature2, FaceRecognizerSFDisType disType = FaceRecognizerSFDisType.Cosine)

Parameters

faceFeature1 InputArray

the first input feature

faceFeature2 InputArray

the second input feature of the same size and the same type as faceFeature1

disType FaceRecognizerSFDisType

defines how to calculate the distance between two face features

Returns

double