VisioForge (c) 2025

Search Results for

    Class FaceDetectorSettings

    Class FaceDetectorSettings.

    Inheritance
    object
    FaceDetectorSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.CVD
    Assembly: VisioForge.Core.CVD.dll
    Syntax
    public class FaceDetectorSettings

    Properties

    BlurFaces

    Gets or sets a value indicating whether to blur faces.

    Declaration
    public bool BlurFaces { get; set; }
    Property Value
    Type Description
    bool

    true if blur faces; otherwise, false.

    DrawColor

    Gets or sets the draw color.

    Declaration
    public SKColor DrawColor { get; set; }
    Property Value
    Type Description
    SKColor

    DrawEnabled

    Gets or sets a value indicating whether draw enabled.

    Declaration
    public bool DrawEnabled { get; set; }
    Property Value
    Type Description
    bool

    DrawShapeType

    Gets or sets the draw shape type.

    Declaration
    public CVShapeType DrawShapeType { get; set; }
    Property Value
    Type Description
    CVShapeType

    FramesToSkip

    Gets or sets the frames to skip. Use this value to improve performance. Default is 5.

    Declaration
    public int FramesToSkip { get; set; }
    Property Value
    Type Description
    int
    Remarks

    Usually you can analyze 5 frames per second video. For example is you have 30 fps video you can set this value to (30 / 5) - 1 = 5.

    MaxFaceSize

    Gets or sets the maximal face size. Objects larger than that are ignored.

    Declaration
    public Size MaxFaceSize { get; set; }
    Property Value
    Type Description
    Size

    MinFaceSize

    Gets or sets the minimal face size. Objects smaller than that are ignored.

    Declaration
    public Size MinFaceSize { get; set; }
    Property Value
    Type Description
    Size

    MinNeighbors

    Gets or sets the minimal neighbors count, specifying how many neighbors each candidate rectangle should have to retain it.

    Declaration
    public int MinNeighbors { get; set; }
    Property Value
    Type Description
    int

    ScaleFactor

    Gets or sets the scale factor, specifying how much the image size is reduced at each image scale.

    Declaration
    public float ScaleFactor { get; set; }
    Property Value
    Type Description
    float

    VideoScale

    Gets or sets the video scale value. 1.0 by default.

    Declaration
    public double VideoScale { get; set; }
    Property Value
    Type Description
    double