Class DNNFaceDetector
Class DNNFaceDetector.
Implements
Inherited Members
Namespace: VisioForge.Core.CV
Assembly: VisioForge.Core.CV.dll
Syntax
public class DNNFaceDetector : IDisposable
Constructors
DNNFaceDetector(DNNFaceDetectorSettings)
Initializes a new instance of the DNNFaceDetector class.
Declaration
public DNNFaceDetector(DNNFaceDetectorSettings settings = null)
Parameters
Type | Name | Description |
---|---|---|
DNNFaceDetectorSettings | settings | The settings. |
Properties
Settings
Gets or sets the settings.
Declaration
public DNNFaceDetectorSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
DNNFaceDetectorSettings | 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. |
~DNNFaceDetector()
Finalizes an instance of the DNNFaceDetector class.
Declaration
protected ~DNNFaceDetector()
Process(RAWImage, out List<CVFace>)
Processes the specified source.
Declaration
public void Process(RAWImage source, out List<CVFace> facesList)
Parameters
Type | Name | Description |
---|---|---|
RAWImage | source | The source. |
List<CVFace> | facesList | The faces list. |
Process(RAWImage, TimeSpan)
Process.
Declaration
public CVFace[] Process(RAWImage frame, TimeSpan timestamp)
Parameters
Type | Name | Description |
---|---|---|
RAWImage | frame | The frame. |
TimeSpan | timestamp | Timestamp. |
Returns
Type | Description |
---|---|
CVFace[] | The CVFace. |
Process(VideoFrame)
Process.
Declaration
public CVFace[] Process(VideoFrame frame)
Parameters
Type | Name | Description |
---|---|---|
VideoFrame | frame | The frame. |
Returns
Type | Description |
---|---|
CVFace[] | The CVFace. |
Events
OnFaceDetected
Face detected event.
Declaration
public event EventHandler<CVFaceDetectedEventArgs> OnFaceDetected
Event Type
Type | Description |
---|---|
EventHandler<CVFaceDetectedEventArgs> |