Class ImageRecognitionConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents a configuration of ImageRecognizer.
C#Copypublic class ImageRecognitionConfiguration : EngineConfiguration, IDisposable
- Inheritance
- Derived
- Implements
-
System.IDisposable
Constructors
ImageRecognitionConfiguration()
Initializes a new instance of the ImageRecognitionConfiguration class.
Declaration
C#Copypublic ImageRecognitionConfiguration()
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The feature is not supported. |
Fields
DefaultMinKeyPointMatches
A read-only field that represents the default value of MinKeyPointMatches.
Declaration
C#Copypublic static readonly int DefaultMinKeyPointMatches
Field Value
| Type | Description |
|---|---|
| int |
DefaultRequiredMatchPart
A read-only field that represents the default value of RequiredMatchingPart.
Declaration
C#Copypublic static readonly double DefaultRequiredMatchPart
Field Value
| Type | Description |
|---|---|
| double |
DefaultSceneMaxKeypoints
A read-only field that represents the default value of SceneMaxKeyPoints.
Declaration
C#Copypublic static readonly int DefaultSceneMaxKeypoints
Field Value
| Type | Description |
|---|---|
| int |
DefaultSceneScaleFactor
A read-only field that represents the default value of SceneScaleFactor.
Declaration
C#Copypublic static readonly double DefaultSceneScaleFactor
Field Value
| Type | Description |
|---|---|
| double |
DefaultTolerantPartMatchError
A read-only field that represents the default value of TolerantPartMatchError.
Declaration
C#Copypublic static readonly double DefaultTolerantPartMatchError
Field Value
| Type | Description |
|---|---|
| double |
Properties
MinKeyPointMatches
Gets or sets the minimum number of key points matches required for recognition.
Declaration
C#Copypublic int MinKeyPointMatches { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The minimal number of key points should be matched between an image and a scene for image objects recognition. The default is 30. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | The ImageRecognitionConfiguration already has been disposed of. |
| System.ArgumentOutOfRangeException |
|
RequiredMatchingPart
Gets or sets the required matching part for the image recognition. To recognize occluded or hidden an image by other images, required relative part of the matches in respect to the total amount of matching keypoints required for image recognition. Too low value will result in unsustainable behavior, but the effect of object overlapping will be reduced.
Declaration
C#Copypublic double RequiredMatchingPart { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The value indicating required relative part of the matches; can be from 0 to 1, inclusive. The default is 0.05. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | The ImageRecognitionConfiguration already has been disposed of. |
| System.ArgumentOutOfRangeException |
|
SceneMaxKeyPoints
Gets or sets the maximum key points that should be detected on the scene. The maximal number of key points can be selected on the scene including the images (objects) to calculate descriptors.
Declaration
C#Copypublic int SceneMaxKeyPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The maximal key points for image recognition. The default is 5000. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | The ImageRecognitionConfiguration already has been disposed of. |
| System.ArgumentOutOfRangeException |
|
Declaration
C#Copypublic double SceneScaleFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The value indicating the factor will be used for resizing of the scene including the images (objects) for recognition. The default is 1.2. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | The ImageRecognitionConfiguration already has been disposed of. |
TolerantPartMatchError
Gets or sets the part matching error for the image recognition.
Allowable error of matches number.
Declaration
C#Copypublic double TolerantPartMatchError { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The value indicating allowable error of matches; can be from 0 to 1, inclusive. The default is 0.1. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | The ImageRecognitionConfiguration already has been disposed of. |
| System.ArgumentOutOfRangeException |
|