Class RoiTrackingConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents a configuration of RoiTracker instances.
public class RoiTrackingConfiguration : EngineConfiguration, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceRoiTrackingConfiguration()
Initializes a new instance of the RoiTrackingConfiguration class.
Declaration
public RoiTrackingConfiguration()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The feature is not supported. |
Properties
View SourceRoi
Gets or sets the ROI(Region Of Interest) of RoiTracker.
Declaration
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 |
TrackerType
Gets or sets the type of ROI tracker.
Default value is Balance.
Declaration
public RoiTrackerType TrackerType { get; set; }
Property Value
Type | Description |
---|---|
RoiTrackerType |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
Methods
View SourceDispose(bool)
Releases the resources used by the RoiTrackingConfiguration object.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | 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. |