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#
Copy
public static class ImageRecognizer
Inheritance
System.Object
ImageRecognizer

Methods

View Source

RecognizeAsync(MediaVisionSource, ImageObject[])

Recognizes the given image objects on the source image.

Declaration
C#
Copy
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<System.Collections.Generic.IEnumerable<ImageRecognitionResult>>

A task that represents the asynchronous recognition operation.

Exceptions
Type Condition
System.ArgumentNullException

source is null.
-or-
imageObjects is null.
-or-
imageObjects contains null reference.

System.ArgumentException

imageObjects has no elements.(The length is zero.)

System.NotSupportedException

The feature is not supported.

ObjectDisposedException

source has already been disposed of.

API Level: 4
Feature: http://tizen.org/feature/vision.image_recognition
View Source

RecognizeAsync(MediaVisionSource, ImageObject[], ImageRecognitionConfiguration)

Recognizes the given image objects on the source image.

Declaration
C#
Copy
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<System.Collections.Generic.IEnumerable<ImageRecognitionResult>>

A task that represents the asynchronous recognition operation.

Exceptions
Type Condition
System.ArgumentNullException

source is null.
-or-
imageObjects is null.
-or-
imageObjects contains null elements.

System.ArgumentException

imageObjects has no elements.(The length is zero.)

System.NotSupportedException

The feature is not supported.

ObjectDisposedException

source has already been disposed of.
-or-
config has already been disposed of.

API Level: 4
Feature: http://tizen.org/feature/vision.image_recognition