Class RoiTrackingConfiguration

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
10
Feature:
http://tizen.org/feature/vision.roi_tracking

Represents a configuration of RoiTracker instances.

C#
Copy
public class RoiTrackingConfiguration : EngineConfiguration, IDisposable
Inheritance
System.Object
RoiTrackingConfiguration
Implements
System.IDisposable

Constructors

View Source

RoiTrackingConfiguration()

Initializes a new instance of the RoiTrackingConfiguration class.

Declaration
C#
Copy
public RoiTrackingConfiguration()
Exceptions
Type Condition
System.NotSupportedException

The feature is not supported.

API Level: 10

Properties

View Source

Roi

Gets or sets the ROI(Region Of Interest) of RoiTracker.

Declaration
C#
Copy
public Rectangle Roi { get; set; }
Property Value
Type Description
Rectangle
Remarks

The default value is Rectangle(0, 0, 0, 0) but it's meaningless.
The user should set this to correct value for TrackAsync(MediaVisionSource, RoiTrackingConfiguration).

Exceptions
Type Condition
System.ArgumentOutOfRangeException

The width of value is less than or equal to zero.
-or-
The height of value is less than or equal to zero.
-or-
The x position of value is less than zero.
-or-
The y position of value is less than zero.

API Level: 10
View Source

TrackerType

Gets or sets the type of ROI tracker.
Default value is Balance.

Declaration
C#
Copy
public RoiTrackerType TrackerType { get; set; }
Property Value
Type Description
RoiTrackerType
Exceptions
Type Condition
System.ArgumentException

value is not valid.

API Level: 10

Methods

View Source

Dispose(Boolean)

Releases the resources used by the RoiTrackingConfiguration object.

Declaration
C#
Copy
protected override void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

true to release both managed and unmanaged resources, otherwise false to release only unmanaged resources.

Overrides
Exceptions
Type Condition
System.NotSupportedException

The required features are not supported.

API Level: 10

Implements

System.IDisposable