Class PersonRecognizer
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
- API Level:
- 4
- Feature:
- http://tizen.org/feature/vision.face_recognitionhttp://tizen.org/feature/vision.image_recognition
Provides the ability to recognize person on image sources.
C#Copypublic class PersonRecognizer : SurveillanceEngine, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic PersonRecognizer()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required features are not supported. |
API Level: 4
Methods
View Source
AddSource(SurveillanceSource, PersonRecognitionConfiguration)
Adds SurveillanceSource with the provided PersonRecognitionConfiguration.
Declaration
C#Copypublic void AddSource(SurveillanceSource source, PersonRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
SurveillanceSource | source | The source used for recognition. |
PersonRecognitionConfiguration | config | The config for the |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ObjectDisposedException | The PersonRecognizer has already been disposed of. |
System.ArgumentException | FaceRecognitionModelPath of |
UnauthorizedAccessException | No permission to access to the FaceRecognitionModelPath. |
System.NotSupportedException | The model file is not supported format or file. |
API Level: 4
Events
Declaration
C#Copypublic event EventHandler<PersonRecognizedEventArgs> Recognized
Event Type
Type | Description |
---|---|
System.EventHandler<PersonRecognizedEventArgs> |
Remarks
The event handler will be executed on an internal thread.
See Also
API Level: 4
Implements
System.IDisposable