C# Класс Accord.Controls.Vision.FaceController

Face-based tracking controller.
Наследование: System.ComponentModel.Component, IDisposable, IBindableComponent, INotifyPropertyChanged
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
computeCurrentPosition void
source_NewFrame void

Открытые методы

Метод Описание
Calibrate ( FaceMovement movement ) : void

Calibrates the specified movement using current positions.

FaceController ( ) : System

Initializes a new instance of the FaceController class.

Reset ( ) : void

Resets the controller.

Start ( ) : void

Starts processing the source stream and sending events.

Stop ( ) : void

Stops sending events.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the T:System.ComponentModel.Component and optionally releases the managed resources.

OnFaceEnter ( Accord.Controls.Vision.FaceEventArgs args ) : void

Called when a face enters the scene.

OnFaceLeave ( EventArgs args ) : void

Called when the face being tracked leaves the scene.

OnFaceMove ( Accord.Controls.Vision.FaceEventArgs args ) : void

Called when a head movement is detected.

OnPropertyChanged ( string name ) : void

Called when [property changed].

Приватные методы

Метод Описание
computeCurrentPosition ( int width, int height ) : void
source_NewFrame ( object sender, NewFrameEventArgs eventArgs ) : void

Описание методов

Calibrate() публичный Метод

Calibrates the specified movement using current positions.
public Calibrate ( FaceMovement movement ) : void
movement FaceMovement The movement to be calibrated.
Результат void

Dispose() защищенный Метод

Releases the unmanaged resources used by the T:System.ComponentModel.Component and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources.
Результат void

FaceController() публичный Метод

Initializes a new instance of the FaceController class.
public FaceController ( ) : System
Результат System

OnFaceEnter() защищенный Метод

Called when a face enters the scene.
protected OnFaceEnter ( Accord.Controls.Vision.FaceEventArgs args ) : void
args Accord.Controls.Vision.FaceEventArgs
Результат void

OnFaceLeave() защищенный Метод

Called when the face being tracked leaves the scene.
protected OnFaceLeave ( EventArgs args ) : void
args System.EventArgs
Результат void

OnFaceMove() защищенный Метод

Called when a head movement is detected.
protected OnFaceMove ( Accord.Controls.Vision.FaceEventArgs args ) : void
args Accord.Controls.Vision.FaceEventArgs
Результат void

OnPropertyChanged() защищенный Метод

Called when [property changed].
protected OnPropertyChanged ( string name ) : void
name string The name.
Результат void

Reset() публичный Метод

Resets the controller.
public Reset ( ) : void
Результат void

Start() публичный Метод

Starts processing the source stream and sending events.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops sending events.
public Stop ( ) : void
Результат void