Class ImageTrackingConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents a configuration of ImageTracker.
public class ImageTrackingConfiguration : ImageRecognitionConfiguration, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceImageTrackingConfiguration()
Initializes a new instance of the ImageTrackingConfiguration class.
Declaration
public ImageTrackingConfiguration()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The feature is not supported. |
Fields
View SourceDefaultExpectedOffset
A read-only field that represents the default value of ExpectedOffset.
Declaration
public static readonly double DefaultExpectedOffset
Field Value
Type | Description |
---|---|
double |
DefaultHistoryAmount
A read-only field that represents the default value of HistoryAmount.
Declaration
public static readonly int DefaultHistoryAmount
Field Value
Type | Description |
---|---|
int |
DefaultStabilizationAcceleration
A read-only field that represents the default value of StabilizationAcceleration.
Declaration
public static readonly double DefaultStabilizationAcceleration
Field Value
Type | Description |
---|---|
double |
DefaultStabilizationEnabled
A read-only field that represents the default value of IsStabilizationEnabled.
Declaration
public static readonly bool DefaultStabilizationEnabled
Field Value
Type | Description |
---|---|
bool |
DefaultStabilizationSpeed
A read-only field that represents the default value of StabilizationSpeed.
Declaration
public static readonly double DefaultStabilizationSpeed
Field Value
Type | Description |
---|---|
double |
DefaultStabilizationTolerantShift
A read-only field that represents the default value of StabilizationTolerantShift.
Declaration
public static readonly double DefaultStabilizationTolerantShift
Field Value
Type | Description |
---|---|
double |
Properties
View SourceExpectedOffset
Gets or sets the expected tracking offset.
Declaration
public double ExpectedOffset { get; set; }
Property Value
Type | Description |
---|---|
double | Relative offset value for which the object offset is expected (relative to the object size in the current frame). |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
HistoryAmount
Gets or sets the number of recognition results in the tracking history.
Declaration
public int HistoryAmount { get; set; }
Property Value
Type | Description |
---|---|
int | The number of previous recognition results, which will influence the stabilization. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
System.ArgumentOutOfRangeException |
|
IsStabilizationEnabled
Gets or sets the state of the contour stabilization during tracking process.
Declaration
public bool IsStabilizationEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool | true if the contour stabilization is enabled; otherwise false. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
StabilizationAcceleration
Gets or sets the acceleration of the tracking stabilization.
Declaration
public double StabilizationAcceleration { get; set; }
Property Value
Type | Description |
---|---|
double | Acceleration will be used for image stabilization (relative to the distance from current location to stabilized location);
from 0 to 1, inclusive. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
System.ArgumentOutOfRangeException |
|
StabilizationSpeed
Gets or sets the speed of the tracking stabilization.
Declaration
public double StabilizationSpeed { get; set; }
Property Value
Type | Description |
---|---|
double | The start speed value used for image stabilization. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
StabilizationTolerantShift
Gets or sets the relative tolerant shift for the tracking stabilization.
Declaration
public double StabilizationTolerantShift { get; set; }
Property Value
Type | Description |
---|---|
double | It is component of tolerant shift which will be ignored by stabilization process.
(this value is relative to the object size in the current frame).
Tolerant shift will be computed like R * S + C, where R is the value set to StabilizationTolerantShift,
S is the area of object location on frame, C is a constant value 1.3. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |