Class ImageRecognizer
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to recognize images on image sources.
public static class ImageRecognizer
- Inheritance
-
objectImageRecognizer
Methods
View SourceRecognizeAsync(MediaVisionSource, ImageObject[], ImageRecognitionConfiguration)
Recognizes the given image objects on the source image.
Declaration
public static Task<IEnumerable<ImageRecognitionResult>> RecognizeAsync(MediaVisionSource source, ImageObject[] imageObjects, ImageRecognitionConfiguration config)
Parameters
| Type | Name | Description |
|---|---|---|
| MediaVisionSource | source | The source image on which image objects will be recognized. |
| ImageObject[] | imageObjects | The array of image objects which will be processed as targets of recognition. |
| ImageRecognitionConfiguration | config | The configuration used for recognition. This value can be null. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><ImageRecognitionResult>> | A task that represents the asynchronous recognition operation. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| System.ArgumentException |
|
| System.NotSupportedException | The feature is not supported. |
| System.ObjectDisposedException |
|
RecognizeAsync(MediaVisionSource, ImageObject[])
Recognizes the given image objects on the source image.
Declaration
public static Task<IEnumerable<ImageRecognitionResult>> RecognizeAsync(MediaVisionSource source, ImageObject[] imageObjects)
Parameters
| Type | Name | Description |
|---|---|---|
| MediaVisionSource | source | The source image on which image objects will be recognized. |
| ImageObject[] | imageObjects | The array of image objects which will be processed as targets of recognition. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><ImageRecognitionResult>> | A task that represents the asynchronous recognition operation. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| System.ArgumentException |
|
| System.NotSupportedException | The feature is not supported. |
| System.ObjectDisposedException |
|