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#
Copy
public static class FaceTracker
Inheritance
System.Object
FaceTracker

Methods

View Source

TrackAsync(MediaVisionSource, FaceTrackingModel, Boolean)

Performs face tracking on the source with the trackingModel.

Declaration
C#
Copy
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.

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
System.ArgumentNullException

source is null.
-or-
trackingModel is null.

ObjectDisposedException

source has already been disposed of.
-or-
trackingModel has already been disposed of.

System.NotSupportedException

The feature is not supported.

System.InvalidOperationException

trackingModel is not prepared.

API Level: 4
Feature: http://tizen.org/feature/vision.face_recognition