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
faceFeature1InputArraythe first input feature
faceFeature2InputArraythe second input feature of the same size and the same type as faceFeature1
disTypeFaceRecognizerSFDisTypedefines how to calculate the distance between two face features