Class FaceDetectionConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
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. |
Properties
Declaration
C#Copypublic 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 |
|
Declaration
C#Copypublic 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 |
|
Declaration
C#Copypublic string ModelFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Declaration
C#Copypublic 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 |