Class ImageTracker

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
4

Provides the ability to track images on image sources.

C#
Copy
public static class ImageTracker
Inheritance
System.Object
ImageTracker

Methods

View Source

TrackAsync(MediaVisionSource, ImageTrackingModel)

Tracks the given image tracking model on the current frame.

Declaration
C#
Copy
public static Task<Quadrangle> TrackAsync(MediaVisionSource source, ImageTrackingModel trackingModel)
Parameters
Type Name Description
MediaVisionSource source

The current image of sequence where the image tracking model will be tracked.

ImageTrackingModel trackingModel

The image tracking model which processed as target of tracking.

Returns
Type Description
System.Threading.Tasks.Task<Quadrangle>

A task that represents the asynchronous tracking operation.

Exceptions
Type Condition
System.ArgumentNullException

source is null.
-or-
trackingModel is null.

System.NotSupportedException

The feature is not supported.

ObjectDisposedException

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

System.ArgumentException

trackingModel has no target.

API Level: 4
Feature: http://tizen.org/feature/vision.image_recognition
View Source

TrackAsync(MediaVisionSource, ImageTrackingModel, ImageTrackingConfiguration)

Tracks the given image tracking model on the current frame and ImageTrackingConfiguration.

Declaration
C#
Copy
public static Task<Quadrangle> TrackAsync(MediaVisionSource source, ImageTrackingModel trackingModel, ImageTrackingConfiguration config)
Parameters
Type Name Description
MediaVisionSource source

The current image of sequence where the image tracking model will be tracked.

ImageTrackingModel trackingModel

The image tracking model which processed as target of tracking.

ImageTrackingConfiguration config

The configuration used for tracking. This value can be null.

Returns
Type Description
System.Threading.Tasks.Task<Quadrangle>

A task that represents the asynchronous tracking operation.

Exceptions
Type Condition
System.ArgumentNullException

source is null.
-or-
trackingModel is null.

System.NotSupportedException

The feature is not supported.

ObjectDisposedException

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

System.ArgumentException

trackingModel has no target.

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