Class FaceDetector
- Namespace
- FaceRecognitionDotNet.Extensions
- Assembly
- VisioForge.Core.FaceAI.dll
An abstract base class that provides functionality to detect face locations from image.
public abstract class FaceDetector : DisposableObject, IDisposableInheritance
Derived
Implements
Inherited Members
Methods
RawDetect(MatrixBase, int)
Returns an enumerable collection of face location correspond to all faces in specified image.
protected abstract IEnumerable<Location> RawDetect(MatrixBase matrix, int numberOfTimesToUpsample)Parameters
matrixMatrixBase-
The matrix contains a face.
numberOfTimesToUpsampleint-
The number of times to up-sample the image when finding faces.
Returns
- IEnumerable<Location>
-
An enumerable collection of face location correspond to all faces.