Class FaceDetectionConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents a configuration of FaceDetector instances.
public class FaceDetectionConfiguration : EngineConfiguration, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceFaceDetectionConfiguration()
Initializes a new instance of the FaceDetectionConfiguration class.
Declaration
public FaceDetectionConfiguration()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The feature is not supported. |
Properties
View SourceMinHeight
Gets or sets the minimum height of a face which will be detected.
Declaration
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 |
|
MinWidth
Gets or sets the minimum width of a face which will be detected.
Declaration
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 |
|
ModelFilePath
Gets or sets the face detection haarcascade xml file for face detection.
Declaration
public string ModelFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Roi
Gets or sets the roi of the face detection.
Declaration
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 |