Class ObjectDetector
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to detect objects and get its locations on image source using inference engine.
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static class ObjectDetector
- Inheritance
-
objectObjectDetector
Methods
View SourceDetectAsync(MediaVisionSource, InferenceModelConfiguration)
Detects objects and gets its locations on the source image using inference engine set in config
.
Each time when DetectAsync is called, a set of the detected objects at the media source are received asynchronously.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<IEnumerable<ObjectDetectionResult>> DetectAsync(MediaVisionSource source, InferenceModelConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The source of the media where faces will be detected. |
InferenceModelConfiguration | config | The engine's configuration that will be used for detecting. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><ObjectDetectionResult>> | A task that represents the asynchronous detect operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.InvalidOperationException | Internal error. |
System.NotSupportedException | The feature is not supported. |
System.UnauthorizedAccessException | The caller has no required privilege. |