Class FaceTracker
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
- API Level:
- 4
Provides the ability to track faces on image sources.
C#Copypublic static class FaceTracker
- Inheritance
-
System.ObjectFaceTracker
Methods
TrackAsync(MediaVisionSource, FaceTrackingModel, Boolean)
Performs face tracking on the source with the trackingModel.
Declaration
C#Copypublic static Task<FaceTrackingResult> TrackAsync(MediaVisionSource source, FaceTrackingModel trackingModel, bool doLearn)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The source of the media to recognize face for. |
FaceTrackingModel | trackingModel | The model will be used for tracking. |
System.Boolean | doLearn | The value indicating whether model learning while tracking. If it is true, then the model will try to learn (if it supports learning feature), otherwise the model will be not learned during the invoking tracking iteration. Learning process improves tracking correctness, but can decrease tracking performance. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<FaceTrackingResult> | A task that represents the asynchronous tracking operation. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ObjectDisposedException |
|
System.NotSupportedException | The feature is not supported. |
System.InvalidOperationException |
|