Class RoiTracker

Definition

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

Provides the ability to track ROI(Region Of Interest) area on image source.

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

Methods

View Source

TrackAsync(MediaVisionSource, RoiTrackingConfiguration)

Tracks ROI(Region Of Interest) on the source image.

Declaration
C#
Copy
public static Task<Rectangle> TrackAsync(MediaVisionSource source, RoiTrackingConfiguration config)
Parameters
Type Name Description
MediaVisionSource source

The source of the media user wants to track.

RoiTrackingConfiguration config

The engine's configuration that will be used for tracking.

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

A task that represents the asynchronous tracking operation.

Remarks

Roi should be set first correctly.

Exceptions
Type Condition
System.ArgumentNullException

source or config is null.

System.ArgumentException

config.Roi.Roi is not set correctly.

System.InvalidOperationException

Internal error.

API Level: 10
Feature: http://tizen.org/feature/vision.roi_tracking