Class FaceDetectionConfiguration

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
4
Feature:
http://tizen.org/feature/vision.face_recognition

Represents a configuration of FaceDetector instances.

C#
Copy
public class FaceDetectionConfiguration : EngineConfiguration, IDisposable
Inheritance
System.Object
FaceDetectionConfiguration
Implements
System.IDisposable

Constructors

View Source

FaceDetectionConfiguration()

Initializes a new instance of the FaceDetectionConfiguration class.

Declaration
C#
Copy
public FaceDetectionConfiguration()
Exceptions
Type Condition
System.NotSupportedException

The feature is not supported.

API Level: 4

Properties

View Source

MinHeight

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

Declaration
C#
Copy
public int? MinHeight { get; set; }
Property Value
Type Description
System.Nullable<Int32>
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.

API Level: 4
View Source

MinWidth

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

Declaration
C#
Copy
public int? MinWidth { get; set; }
Property Value
Type Description
System.Nullable<Int32>
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.

API Level: 4
View Source

ModelFilePath

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

Declaration
C#
Copy
public string ModelFilePath { get; set; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.ArgumentNullException

value is null.

API Level: 4
View Source

Roi

Gets or sets the roi of the face detection.

Declaration
C#
Copy
public Rectangle? Roi { get; set; }
Property Value
Type Description
System.Nullable<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.

API Level: 4

Implements

System.IDisposable