Click or drag to resize
Accord.NET (logo)

HeadController Class

Head-based tracking controller.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      Accord.Controls.VisionHeadController

Namespace:  Accord.Controls.Vision
Assembly:  Accord.Controls.Vision (in Accord.Controls.Vision.dll) Version: 3.8.0
Syntax
public class HeadController : Component, 
	IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, IVideoSource
Request Example View Source

The HeadController type exposes the following members.

Constructors
  NameDescription
Public methodHeadController
Initializes a new instance of the HeadController class.
Top
Properties
  NameDescription
Public propertyAngleMax
Gets or sets the maximum angle for head tilting calibration.
Public propertyAngleMin
Gets or sets the minimum angle for head tilting calibration.
Public propertyBindingContext
Gets or sets the collection of currency managers for the IBindableComponent.
Public propertyBytesReceived
Received bytes count.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyDataBindings
Gets the collection of data-binding objects for this IBindableComponent.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDetector
Gets the IObjectDetector used to detect the head object in the video stream.
Public propertyDevice
Gets or sets the video device used to track objects.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFramesReceived
Received frames count.
Public propertyHeadAngle
Gets the current head tilting angle.
Public propertyHeadPosition
Gets the current head position.
Public propertyHeadScale
Gets the current head scale.
Public propertyIsDetecting
Gets a value indicating whether this instance is attempting to detect faces in the video stream.
Public propertyIsRunning
Gets a value indicating whether this instance is currently processing and sending events.
Public propertyIsTracking
Gets a value indicating whether this instance is actually tracking an object in the video stream.
Public propertyScaleMax
Gets or sets the maximum area for proximity scale calibration.
Public propertyScaleMin
Gets or sets the minimum area for proximity scale calibration.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertySource
Video source.
Public propertySynchronizingObject
Gets or sets the object used to marshal event-handler calls that are issued when the head object position has been updated.
Public propertyTracker
Gets the IObjectTracker used to track the head object in the video stream.
Public propertyXAxisMax
Gets or sets the maximum position for horizontal scale calibration.
Public propertyXAxisMin
Gets or sets the minimum position for horizontal scale calibration.
Public propertyYAxisMax
Gets or sets the maximum position for vertical scale calibration.
Public propertyYAxisMin
Gets or sets the minimum position for vertical scale calibration.
Top
Methods
  NameDescription
Public methodCalibrate
Calibrates the specified movement using current positions.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Overrides ComponentDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnHeadEnter
Called when a face enters the scene.
Protected methodOnHeadLeave
Called when the face being tracked leaves the scene.
Protected methodOnHeadMove
Called when a head movement is detected.
Protected methodOnPropertyChanged
Called when [property changed].
Public methodReset
Resets the controller.
Public methodSignalToStop
Signal the video source to stop.
Public methodStart
Starts processing the video source.
Public methodStop
Stops the video source.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Public methodWaitForStop
Waits until the video source has stopped.
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventHeadEnter
Occurs when a head enters the video scene.
Public eventHeadLeave
Occurs when a head leaves the video scene.
Public eventHeadMove
Occurs when the head moves in the video scene.
Public eventNewFrame
New frame event.
Public eventPlayingFinished
Video playing finished event.
Public eventPropertyChanged
Occurs when a property value changes.
Public eventVideoSourceError
Video source error event.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also