Class PersonRecognizer
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to recognize person on image sources.
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public class PersonRecognizer : SurveillanceEngine, IDisposable
- Inheritance
- Implements
Constructors
View SourcePersonRecognizer()
Initializes a new instance of the PersonRecognizer class.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public PersonRecognizer()
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | The required features are not supported. |
Methods
View SourceAddSource(SurveillanceSource, PersonRecognitionConfiguration)
Adds SurveillanceSource with the provided PersonRecognitionConfiguration.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
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. |
Events
View SourceRecognized
Occurs when a person recognized.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public event EventHandler<PersonRecognizedEventArgs> Recognized
Event Type
| Type | Description |
|---|---|
| EventHandler<PersonRecognizedEventArgs> |
Remarks
The event handler will be executed on an internal thread.