Table of Contents

Class DNNFaceDetectorSettings

Namespace
VisioForge.Core.CV
Assembly
VisioForge.Core.CV.dll

Settings for the Deep Neural Network (DNN) based Face Detector.

public class DNNFaceDetectorSettings

Inheritance

Inherited Members

Properties

Blur

Gets or sets a value indicating whether to blur the detected faces.

public bool Blur { get; set; }

Property Value

bool

CacheSize

Gets or sets the size of the cache (duration in frames).

public int CacheSize { get; set; }

Property Value

int

Confidence

Gets or sets the confidence threshold for face detection.

public float Confidence { get; set; }

Property Value

float

DrawColor

Gets or sets the color used for drawing the detection shapes.

public SKColor DrawColor { get; set; }

Property Value

SKColor

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

bool

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

int

FramesToSkip

Gets or sets the number of frames to skip between detection passes.

public int FramesToSkip { get; set; }

Property Value

int

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

int

Pixelate

Gets or sets a value indicating whether to pixelate the detected faces.

public bool Pixelate { get; set; }

Property Value

bool

ScaleFactor

Gets or sets the scale factor (used if resizing or legacy methods use it).

public float ScaleFactor { get; set; }

Property Value

float

UseCache

Gets or sets a value indicating whether to use a cache for detected faces.

public bool UseCache { get; set; }

Property Value

bool

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; }

Property Value

double