Class ImageTrackingConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
- API Level:
- 4
- Feature:
- http://tizen.org/feature/vision.image_recognition
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. |
API Level: 4
Fields
DefaultExpectedOffset
A read-only field that represents the default value of ExpectedOffset.
Declaration
C#Copypublic static readonly double DefaultExpectedOffset
Field Value
Type | Description |
---|---|
System.Double |
API Level: 4
DefaultHistoryAmount
A read-only field that represents the default value of HistoryAmount.
Declaration
C#Copypublic static readonly int DefaultHistoryAmount
Field Value
Type | Description |
---|---|
Int32 |
API Level: 4
DefaultStabilizationAcceleration
A read-only field that represents the default value of StabilizationAcceleration.
Declaration
C#Copypublic static readonly double DefaultStabilizationAcceleration
Field Value
Type | Description |
---|---|
System.Double |
API Level: 4
DefaultStabilizationEnabled
A read-only field that represents the default value of IsStabilizationEnabled.
Declaration
C#Copypublic static readonly bool DefaultStabilizationEnabled
Field Value
Type | Description |
---|---|
Boolean |
API Level: 4
DefaultStabilizationSpeed
A read-only field that represents the default value of StabilizationSpeed.
Declaration
C#Copypublic static readonly double DefaultStabilizationSpeed
Field Value
Type | Description |
---|---|
System.Double |
API Level: 4
DefaultStabilizationTolerantShift
A read-only field that represents the default value of StabilizationTolerantShift.
Declaration
C#Copypublic static readonly double DefaultStabilizationTolerantShift
Field Value
Type | Description |
---|---|
System.Double |
API Level: 4
Properties
Declaration
C#Copypublic double ExpectedOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Relative offset value for which the object offset is expected (relative to the object size in the current frame). |
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
API Level: 4
Declaration
C#Copypublic int HistoryAmount { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The number of previous recognition results, which will influence the stabilization. |
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
System.ArgumentOutOfRangeException |
|
API Level: 4
IsStabilizationEnabled
Gets or sets the state of the contour stabilization during tracking process.
Declaration
C#Copypublic bool IsStabilizationEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true if the contour stabilization is enabled; otherwise false. |
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
API Level: 4
Declaration
C#Copypublic double StabilizationAcceleration { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
System.ArgumentOutOfRangeException |
|
API Level: 4
Declaration
C#Copypublic double StabilizationSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The start speed value used for image stabilization. |
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |
API Level: 4
StabilizationTolerantShift
Gets or sets the relative tolerant shift for the tracking stabilization.
Declaration
C#Copypublic double StabilizationTolerantShift { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
ObjectDisposedException | The ImageTrackingConfiguration already has been disposed of. |