Class CascadeFaceDetectorSettings
- Namespace
- VisioForge.Core.CV
- Assembly
- VisioForge.Core.CV.dll
Settings for the Cascade Face Detector, allowing configuration of detection parameters and visual feedback.
public class CascadeFaceDetectorSettingsInheritance
Inherited Members
Properties
Blur
Gets or sets a value indicating whether to blur the detected faces.
public bool Blur { get; set; }Property Value
CacheSize
Gets or sets the size of the cache (duration in frames).
public int CacheSize { get; set; }Property Value
DetectEyes
Gets or sets a value indicating whether to detect eyes within the detected face.
public bool DetectEyes { get; set; }Property Value
DetectFrontalFace
Gets or sets a value indicating whether to detect frontal faces.
public bool DetectFrontalFace { get; set; }Property Value
DetectMouth
Gets or sets a value indicating whether to detect the mouth within the detected face.
public bool DetectMouth { get; set; }Property Value
DetectNose
Gets or sets a value indicating whether to detect the nose within the detected face.
public bool DetectNose { get; set; }Property Value
DetectProfileFace
Gets or sets a value indicating whether to detect profile faces (side view).
public bool DetectProfileFace { get; set; }Property Value
DrawColor
Gets or sets the color used for drawing the detection shapes (rectangles or circles).
public SKColor DrawColor { get; set; }Property Value
DrawEnabled
Gets or sets a value indicating whether to draw rectangles or circles around detected faces on the video frame.
public bool DrawEnabled { get; set; }Property Value
DrawShapeType
Gets or sets the shape to use when drawing detected faces.
public CVShapeType DrawShapeType { get; set; }Property Value
- CVShapeType
FramesToSkip
Gets or sets the number of frames to skip between detection passes to improve performance.
public int FramesToSkip { get; set; }Property Value
MaxFaceSize
Gets or sets the maximum possible object size. Objects larger than this are ignored.
public Size MaxFaceSize { get; set; }Property Value
- Size
MinFaceSize
Gets or sets the minimum possible object size. Objects smaller than this are ignored.
public Size MinFaceSize { get; set; }Property Value
- Size
MinNeighbors
Gets or sets the parameter specifying how many neighbors each candidate rectangle should have to retain it.
public int MinNeighbors { get; set; }Property Value
Pixelate
Gets or sets a value indicating whether to pixelate the detected faces.
public bool Pixelate { get; set; }Property Value
ScaleFactor
Gets or sets the parameter specifying how much the image size is reduced at each image scale.
public float ScaleFactor { get; set; }Property Value
UseCache
Gets or sets a value indicating whether to use a cache for detected faces.
public bool UseCache { get; set; }Property Value
Remarks
When enabled, the detector reuses the location of detected faces for a certain number of frames (defined by VisioForge.Core.CV.CascadeFaceDetectorSettings.CacheSize), which improves performance by running the expensive detection algorithm less frequently.
VideoScale
Gets or sets the scaling factor for the video frame during processing.
public double VideoScale { get; set; }