Class RoiTracker
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to track ROI(Region Of Interest) area on image source.
public static class RoiTracker
- Inheritance
-
RoiTracker
Methods
View SourceTrackAsync(MediaVisionSource, RoiTrackingConfiguration)
Tracks ROI(Region Of Interest) on the source image.
Declaration
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 |
|---|---|
| Task<Rectangle> | A task that represents the asynchronous tracking operation. |
Remarks
Roi should be set first correctly.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| ArgumentException |
|
| InvalidOperationException | Internal error. |