Class ImageTrackingConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents a configuration of ImageTracker.
C#Copypublic class ImageTrackingConfiguration : ImageRecognitionConfiguration, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
ImageTrackingConfiguration()
Initializes a new instance of the ImageTrackingConfiguration class.
Declaration
C#Copypublic ImageTrackingConfiguration()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The feature is not supported. |
Fields
DefaultExpectedOffset
A read-only field that represents the default value of ExpectedOffset.
Declaration
C#Copypublic static readonly double DefaultExpectedOffset
Field Value
Type | Description |
---|---|
double |
DefaultHistoryAmount
A read-only field that represents the default value of HistoryAmount.
Declaration
C#Copypublic static readonly int DefaultHistoryAmount
Field Value
Type | Description |
---|---|
int |
DefaultStabilizationAcceleration
A read-only field that represents the default value of StabilizationAcceleration.
Declaration
C#Copypublic static readonly double DefaultStabilizationAcceleration
Field Value
Type | Description |
---|---|
double |
DefaultStabilizationEnabled
A read-only field that represents the default value of IsStabilizationEnabled.
Declaration
C#Copypublic static readonly bool DefaultStabilizationEnabled
Field Value
Type | Description |
---|---|
bool |
DefaultStabilizationSpeed
A read-only field that represents the default value of StabilizationSpeed.
Declaration
C#Copypublic static readonly double DefaultStabilizationSpeed
Field Value
Type | Description |
---|---|
double |
DefaultStabilizationTolerantShift
A read-only field that represents the default value of StabilizationTolerantShift.
Declaration
C#Copypublic static readonly double DefaultStabilizationTolerantShift
Field Value
Type | Description |
---|---|
double |
Properties
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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
C#Copypublic 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. |
Declaration
C#Copypublic 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 |
|
Declaration
C#Copypublic 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
C#Copypublic 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. |