Class FaceTracker
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to track faces on image sources.
public static class FaceTracker
- Inheritance
-
objectFaceTracker
Methods
View SourceTrackAsync(MediaVisionSource, FaceTrackingModel, bool)
Performs face tracking on the source with the trackingModel.
Declaration
public 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. |
bool | 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<TResult><FaceTrackingResult> | A task that represents the asynchronous tracking operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException |
|
System.NotSupportedException | The feature is not supported. |
System.InvalidOperationException |
|