C# 클래스 Accord.Controls.Vision.HeadController

Head-based tracking controller.
상속: System.ComponentModel.Component, IBindableComponent, INotifyPropertyChanged, IVideoSource
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

Private Properties

프로퍼티 타입 설명
computeCurrentPosition void
source_NewFrame void
videoSource_PlayingFinished void
videoSource_VideoSourceError void

공개 메소드들

메소드 설명
Calibrate ( HeadMovement movement ) : void

Calibrates the specified movement using current positions.

HeadController ( ) : Accord.Math

Initializes a new instance of the HeadController class.

Reset ( ) : void

Resets the controller.

SignalToStop ( ) : void

Signal the video source to stop.

Start ( ) : void

Starts processing the video source.

Stop ( ) : void

Stops the video source.

WaitForStop ( ) : void

Waits until the video source has stopped.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

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

OnHeadEnter ( HeadEventArgs args ) : void

Called when a face enters the scene.

OnHeadLeave ( EventArgs args ) : void

Called when the face being tracked leaves the scene.

OnHeadMove ( HeadEventArgs args ) : void

Called when a head movement is detected.

OnPropertyChanged ( string name ) : void

Called when [property changed].

비공개 메소드들

메소드 설명
computeCurrentPosition ( ) : void
source_NewFrame ( object sender, NewFrameEventArgs eventArgs ) : void
videoSource_PlayingFinished ( object sender, ReasonToFinishPlaying reason ) : void
videoSource_VideoSourceError ( object sender, VideoSourceErrorEventArgs eventArgs ) : void

메소드 상세

Calibrate() 공개 메소드

Calibrates the specified movement using current positions.
public Calibrate ( HeadMovement movement ) : void
movement HeadMovement 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

HeadController() 공개 메소드

Initializes a new instance of the HeadController class.
public HeadController ( ) : Accord.Math
리턴 Accord.Math

OnHeadEnter() 보호된 메소드

Called when a face enters the scene.
protected OnHeadEnter ( HeadEventArgs args ) : void
args HeadEventArgs
리턴 void

OnHeadLeave() 보호된 메소드

Called when the face being tracked leaves the scene.
protected OnHeadLeave ( EventArgs args ) : void
args System.EventArgs
리턴 void

OnHeadMove() 보호된 메소드

Called when a head movement is detected.
protected OnHeadMove ( HeadEventArgs args ) : void
args HeadEventArgs
리턴 void

OnPropertyChanged() 보호된 메소드

Called when [property changed].
protected OnPropertyChanged ( string name ) : void
name string The name.
리턴 void

Reset() 공개 메소드

Resets the controller.
public Reset ( ) : void
리턴 void

SignalToStop() 공개 메소드

Signal the video source to stop.
public SignalToStop ( ) : void
리턴 void

Start() 공개 메소드

Starts processing the video source.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the video source.
public Stop ( ) : void
리턴 void

WaitForStop() 공개 메소드

Waits until the video source has stopped.
public WaitForStop ( ) : void
리턴 void