Table of Contents

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, IDisposable

Inheritance

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

landmark IDictionary<FacePart, IEnumerable<FacePoint>>

The dictionary of face parts locations (eyes, nose, etc).

leftBlink bool

When this method returns, contains true, if the left eye blinks; otherwise, false.

rightBlink bool

When this method returns, contains true, if the right eye blinks; otherwise, false.