VisioForge (c) 2025

Search Results for

    Class AFFaceDetectionEventArgs

    Face detection event args class.

    Inheritance
    object
    EventArgs
    AFFaceDetectionEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.Events
    Assembly: VisioForge.Core.dll
    Syntax
    public class AFFaceDetectionEventArgs : EventArgs

    Constructors

    AFFaceDetectionEventArgs(Rectangle[], nint, int, int, int, PixelFormat, TimeSpan, TimeSpan, ref bool)

    Initializes a new instance of the AFFaceDetectionEventArgs class.

    Declaration
    public AFFaceDetectionEventArgs(Rectangle[] faceRectangles, nint buffer, int bufferLen, int width, int height, PixelFormat pixelFormat, TimeSpan startTime, TimeSpan stopTime, ref bool updateData)
    Parameters
    Type Name Description
    Rectangle[] faceRectangles

    Face rectangles.

    nint buffer

    Buffer IntPtr.

    int bufferLen

    Buffer length.

    int width

    Video width.

    int height

    Video height.

    PixelFormat pixelFormat

    Pixel format.

    TimeSpan startTime

    Start time.

    TimeSpan stopTime

    Stop time.

    bool updateData

    Updated data flag.

    Properties

    Buffer

    Gets frame.

    Declaration
    public nint Buffer { get; }
    Property Value
    Type Description
    nint

    BufferLen

    Gets buffer size.

    Declaration
    public int BufferLen { get; }
    Property Value
    Type Description
    int

    FaceRectangles

    Gets faces rectangles.

    Declaration
    public Rectangle[] FaceRectangles { get; }
    Property Value
    Type Description
    Rectangle[]

    Height

    Gets height.

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    int

    PixelFormat

    Gets pixel format.

    Declaration
    public PixelFormat PixelFormat { get; }
    Property Value
    Type Description
    PixelFormat

    StartTime

    Gets start time.

    Declaration
    public TimeSpan StartTime { get; }
    Property Value
    Type Description
    TimeSpan

    StopTime

    Gets stop time.

    Declaration
    public TimeSpan StopTime { get; }
    Property Value
    Type Description
    TimeSpan

    UpdateData

    Gets or sets a value indicating whether frame has been updates and changes must be saved.

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

    Width

    Gets width.

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    int