Class DNNFaceDetectorSettings
- Namespace
- VisioForge.Core.CV
- Assembly
- VisioForge.Core.CV.dll
Settings for the Deep Neural Network (DNN) based Face Detector.
public class DNNFaceDetectorSettingsInheritance
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
Confidence
Gets or sets the confidence threshold for face detection.
public float Confidence { get; set; }Property Value
DrawColor
Gets or sets the color used for drawing the detection shapes.
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
DrawThickness
Gets or sets the thickness of the lines used for drawing detection shapes.
public int DrawThickness { get; set; }Property Value
FramesToSkip
Gets or sets the number of frames to skip between detection passes.
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 minimum neighbors parameter (used only if internal legacy methods use it, otherwise might be unused in DNN context).
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 scale factor (used if resizing or legacy methods use it).
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, undetected faces are drawn using cached positions for VisioForge.Core.CV.DNNFaceDetectorSettings.CacheSize frames.
VideoScale
Gets or sets the scaling factor for the video frame during processing.
public double VideoScale { get; set; }