Class EyeBlinkDetector
- Namespace
- FaceRecognitionDotNet.Extensions
- Assembly
- VisioForge.Core.FaceAI.dll
An abstract base class that provides functionality to detect human eye's blink from face landmark.
public abstract class EyeBlinkDetector : DisposableObject, IDisposableInheritance
Derived
Implements
Inherited Members
Methods
RawDetect(IDictionary<FacePart, IEnumerable<FacePoint>>, out bool, out bool)
Detects the values whether human eye's blink or not from face landmark.
protected abstract void RawDetect(IDictionary<FacePart, IEnumerable<FacePoint>> landmark, out bool leftBlink, out bool rightBlink)Parameters
landmarkIDictionary<FacePart, IEnumerable<FacePoint>>-
The dictionary of face parts locations (eyes, nose, etc).
leftBlinkbool-
When this method returns, contains
true , if the left eye blinks; otherwise,false . rightBlinkbool-
When this method returns, contains
true , if the right eye blinks; otherwise,false .