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.
public class PersonRecognizer : SurveillanceEngine, IDisposable
- Inheritance
- Implements
Constructors
View SourcePersonRecognizer()
Initializes a new instance of the PersonRecognizer class.
Declaration
public PersonRecognizer()
Exceptions
Type | Condition |
---|---|
NotSupportedException | The required features are not supported. |
API Level: 4
Methods
View SourceAddSource(SurveillanceSource, PersonRecognitionConfiguration)
Adds SurveillanceSource with the provided PersonRecognitionConfiguration.
Declaration
public 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. |
ArgumentException | FaceRecognitionModelPath of |
UnauthorizedAccessException | No permission to access to the FaceRecognitionModelPath. |
NotSupportedException | The model file is not supported format or file. |
API Level: 4
Events
View SourceRecognized
Occurs when a person recognized.
Declaration
public event EventHandler<PersonRecognizedEventArgs> Recognized
Event Type
Type | Description |
---|---|
EventHandler<PersonRecognizedEventArgs> |
Remarks
The event handler will be executed on an internal thread.