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.
public class FaceDetectionConfiguration : EngineConfiguration, IDisposable
- Inheritance
- Implements
Constructors
View SourceFaceDetectionConfiguration()
Initializes a new instance of the FaceDetectionConfiguration class.
Declaration
public FaceDetectionConfiguration()
Exceptions
Type | Condition |
---|---|
NotSupportedException | The feature is not supported. |
API Level: 4
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 |
---|---|
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 |
---|---|
ArgumentOutOfRangeException |
|
API Level: 4
View SourceMinWidth
Gets or sets the minimum width of a face which will be detected.
Declaration
public int? MinWidth { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
ArgumentOutOfRangeException |
|
API Level: 4
View SourceModelFilePath
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 |
---|---|
ArgumentNullException |
|
API Level: 4
View SourceRoi
Gets or sets the roi of the face detection.
Declaration
public Rectangle? Roi { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
ArgumentOutOfRangeException | The width of |