Class FaceDetectionConfiguration

    Definition

    Namespace:
    Tizen.Multimedia.Vision
    Assembly:
    Tizen.Multimedia.Vision.dll

    Represents a configuration of FaceDetector instances.

    [Obsolete("Deprecated since API12. Will be removed in API15.")]
    public class FaceDetectionConfiguration : EngineConfiguration, IDisposable
    Inheritance
    object
    EngineConfiguration
    FaceDetectionConfiguration
    Implements
    System.IDisposable

    Constructors

    View Source

    FaceDetectionConfiguration()

    Initializes a new instance of the FaceDetectionConfiguration class.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API15.")]
    public FaceDetectionConfiguration()
    Exceptions
    Type Condition
    System.NotSupportedException

    The feature is not supported.

    Properties

    View Source

    MinHeight

    Gets or sets the minimum height of a face which will be detected.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API15.")]
    public int? MinHeight { get; set; }
    Property Value
    Type Description
    int?
    Remarks

    Default value is null (all detected faces will be applied), which can be changed to specify the minimum face height.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    value is less than zero.

    View Source

    MinWidth

    Gets or sets the minimum width of a face which will be detected.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API15.")]
    public int? MinWidth { get; set; }
    Property Value
    Type Description
    int?
    Remarks

    Default value is null (all detected faces will be applied), which can be changed to specify the minimum face width.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    value is less than zero.

    View Source

    ModelFilePath

    Gets or sets the face detection haarcascade xml file for face detection.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API15.")]
    public string ModelFilePath { get; set; }
    Property Value
    Type Description
    string
    Exceptions
    Type Condition
    System.ArgumentNullException

    value is null.

    View Source

    Roi

    Gets or sets the roi of the face detection.

    Declaration
    [Obsolete("Deprecated since API12. Will be removed in API15.")]
    public Rectangle? Roi { get; set; }
    Property Value
    Type Description
    Rectangle?
    Remarks

    Default value is null (the roi will be a full image), which can be changed to specify the roi for face detection.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The width of value is less than or equal to zero.
    -or-
    The height of value is less than or equal to zero.
    -or-
    The x position of value is less than zero.
    -or-
    The y position of value is less than zero.

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX