Class PersonRecognizer
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to recognize person on image sources.
public class PersonRecognizer : SurveillanceEngine, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourcePersonRecognizer()
Initializes a new instance of the PersonRecognizer class.
Declaration
public PersonRecognizer()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required features are not supported. |
See Also
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 |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException | The PersonRecognizer has already been disposed of. |
System.ArgumentException | FaceRecognitionModelPath of |
System.UnauthorizedAccessException | No permission to access to the FaceRecognitionModelPath. |
System.NotSupportedException | The model file is not supported format or file. |
See Also
Events
View SourceRecognized
Occurs when a person recognized.
Declaration
public event EventHandler<PersonRecognizedEventArgs> Recognized
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><PersonRecognizedEventArgs> |
Remarks
The event handler will be executed on an internal thread.
See Also
Implements
System.IDisposable