Class ImageRecognitionConfiguration
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents a configuration of ImageRecognizer.
public class ImageRecognitionConfiguration : EngineConfiguration, IDisposable
- Inheritance
- Derived
- Implements
-
System.IDisposable
Constructors
View SourceImageRecognitionConfiguration()
Initializes a new instance of the ImageRecognitionConfiguration class.
Declaration
public ImageRecognitionConfiguration()
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The feature is not supported. |
Fields
View SourceDefaultMinKeyPointMatches
A read-only field that represents the default value of MinKeyPointMatches.
Declaration
public static readonly int DefaultMinKeyPointMatches
Field Value
| Type | Description |
|---|---|
| int |
DefaultRequiredMatchPart
A read-only field that represents the default value of RequiredMatchingPart.
Declaration
public static readonly double DefaultRequiredMatchPart
Field Value
| Type | Description |
|---|---|
| double |
DefaultSceneMaxKeypoints
A read-only field that represents the default value of SceneMaxKeyPoints.
Declaration
public static readonly int DefaultSceneMaxKeypoints
Field Value
| Type | Description |
|---|---|
| int |
DefaultSceneScaleFactor
A read-only field that represents the default value of SceneScaleFactor.
Declaration
public static readonly double DefaultSceneScaleFactor
Field Value
| Type | Description |
|---|---|
| double |
DefaultTolerantPartMatchError
A read-only field that represents the default value of TolerantPartMatchError.
Declaration
public static readonly double DefaultTolerantPartMatchError
Field Value
| Type | Description |
|---|---|
| double |
Properties
View SourceMinKeyPointMatches
Gets or sets the minimum number of key points matches required for recognition.
Declaration
public 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
public 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
public 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 |
|
SceneScaleFactor
Gets or sets the scene scale factor.
Declaration
public 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
public 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 |
|