Class FaceRecognizerSF
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DNN-based face recognizer
public class FaceRecognizerSF : Algorithm, IDisposable
- Inheritance
-
FaceRecognizerSF
- Implements
- Inherited Members
Methods
- AlignCrop(InputArray, InputArray, OutputArray)
Aligns detected face with the source input image and crops it.
- Create(string, byte[], byte[], Backend, Target)
Creates an instance of this class from a buffer containing the model weights and configuration.
- Create(string, string, Backend, Target)
Creates an instance of this class with given parameters.
- Feature(InputArray, OutputArray)
Extracts face feature from aligned image.
- Match(InputArray, InputArray, FaceRecognizerSFDisType)
Calculates the distance between two face features.