Class FaceDetector
Face detector.
Implements
Inherited Members
Namespace: VisioForge.Core.CVD
Assembly: VisioForge.Core.CVD.dll
Syntax
public class FaceDetector : IDisposable
  Constructors
FaceDetector(FaceDetectorSettings)
Initializes a new instance of the FaceDetector class.
Declaration
public FaceDetector(FaceDetectorSettings settings)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FaceDetectorSettings | settings | The settings.  | 
      
Properties
Settings
Gets or sets the settings.
Declaration
public FaceDetectorSettings Settings { get; set; }
  Property Value
| Type | Description | 
|---|---|
| FaceDetectorSettings | The settings.  | 
      
Methods
Clear()
Clears.
Declaration
public void Clear()
  Dispose()
Dispose.
Declaration
public void Dispose()
  Dispose(bool)
Dispose.
Declaration
protected virtual void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | disposing | Disposing parameter.  | 
      
~FaceDetector()
Finalizes an instance of the FaceDetector class.
Declaration
protected ~FaceDetector()
  Init()
Init.
Declaration
public void Init()
  Process(VideoFrame)
Process.
Declaration
public CVFace[] Process(VideoFrame frame)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoFrame | frame | The frame.  | 
      
Returns
| Type | Description | 
|---|---|
| CVFace[] | The CVFace.  | 
      
Process(VideoFrame, TimeSpan)
Process.
Declaration
public CVFace[] Process(VideoFrame frame, TimeSpan timestamp)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoFrame | frame | The frame.  | 
      
| TimeSpan | timestamp | Timestamp.  | 
      
Returns
| Type | Description | 
|---|---|
| CVFace[] | The CVFace.  | 
      
Process(VideoFrameX)
Process.
Declaration
public CVFace[] Process(VideoFrameX frame)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoFrameX | frame | The frame.  | 
      
Returns
| Type | Description | 
|---|---|
| CVFace[] | The CVFace.  | 
      
Process(VideoFrameX, TimeSpan)
Process.
Declaration
public CVFace[] Process(VideoFrameX frame, TimeSpan timestamp)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoFrameX | frame | The frame.  | 
      
| TimeSpan | timestamp | Timestamp.  | 
      
Returns
| Type | Description | 
|---|---|
| CVFace[] | The CVFace.  | 
      
Events
OnFaceDetected
Face detected event.
Declaration
public event EventHandler<CVFaceDetectedEventArgs> OnFaceDetected
  Event Type
| Type | Description | 
|---|---|
| EventHandler<CVFaceDetectedEventArgs> |