Class ImageRecognizer
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
- API Level:
- 4
Provides the ability to recognize images on image sources.
C#Copypublic static class ImageRecognizer
- Inheritance
-
System.ObjectImageRecognizer
Methods
RecognizeAsync(MediaVisionSource, ImageObject[])
Recognizes the given image objects on the source image.
Declaration
C#Copypublic 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<System.Collections.Generic.IEnumerable<ImageRecognitionResult>> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.NotSupportedException | The feature is not supported. |
ObjectDisposedException |
|
API Level: 4
Feature: http://tizen.org/feature/vision.image_recognition
RecognizeAsync(MediaVisionSource, ImageObject[], ImageRecognitionConfiguration)
Recognizes the given image objects on the source image.
Declaration
C#Copypublic 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<System.Collections.Generic.IEnumerable<ImageRecognitionResult>> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.NotSupportedException | The feature is not supported. |
ObjectDisposedException |
|