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#Copypublic class FaceDetectionConfiguration : EngineConfiguration, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
FaceDetectionConfiguration()
Initializes a new instance of the FaceDetectionConfiguration class.
Declaration
C#Copypublic FaceDetectionConfiguration()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The feature is not supported. |
API Level: 4
Properties
Declaration
C#Copypublic 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 |
|
API Level: 4
Declaration
C#Copypublic 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 |
|
API Level: 4
Declaration
C#Copypublic string ModelFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
API Level: 4
Declaration
C#Copypublic 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 |