Class FaceRecognizer
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to recognize faces, face expressions, and eye condition on image sources.
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static class FaceRecognizer
- Inheritance
-
objectFaceRecognizer
Methods
View SourceRecognizeAsync(MediaVisionSource, FaceRecognitionModel, Rectangle, FaceRecognitionConfiguration)
Performs face recognition on the source with FaceRecognitionModel, FaceRecognitionConfiguration and a bounding box.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel, Rectangle bound, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The MediaVisionSource of the media to recognize faces for. |
FaceRecognitionModel | recognitionModel | The FaceRecognitionModel to be used for recognition. |
Rectangle | bound | Rectangular box bounding face image on the source. |
FaceRecognitionConfiguration | config | The FaceRecognitionConfiguration used for recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><FaceRecognitionResult> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.NotSupportedException | The feature is not supported. |
System.ObjectDisposedException |
|
System.InvalidOperationException |
|
RecognizeAsync(MediaVisionSource, FaceRecognitionModel, Rectangle)
Performs face recognition on the source with FaceRecognitionModel and a bounding box.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel, Rectangle bound)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The MediaVisionSource of the media to recognize faces for. |
FaceRecognitionModel | recognitionModel | The FaceRecognitionModel to be used for recognition. |
Rectangle | bound | Rectangular box bounding face image on the source. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><FaceRecognitionResult> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.NotSupportedException | The feature is not supported. |
System.ObjectDisposedException |
|
System.InvalidOperationException |
|
RecognizeAsync(MediaVisionSource, FaceRecognitionModel, FaceRecognitionConfiguration)
Performs face recognition on the source with FaceRecognitionModel and FaceRecognitionConfiguration.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The MediaVisionSource of the media to recognize faces for. |
FaceRecognitionModel | recognitionModel | The FaceRecognitionModel to be used for recognition. |
FaceRecognitionConfiguration | config | The configuration used for recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><FaceRecognitionResult> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.NotSupportedException | The feature is not supported. |
System.ObjectDisposedException |
|
System.InvalidOperationException |
|
RecognizeAsync(MediaVisionSource, FaceRecognitionModel)
Performs face recognition on the source with FaceRecognitionModel.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The MediaVisionSource of the media to recognize faces for. |
FaceRecognitionModel | recognitionModel | The FaceRecognitionConfiguration to be used for recognition. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><FaceRecognitionResult> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.NotSupportedException | The feature is not supported. |
System.ObjectDisposedException |
|
System.InvalidOperationException |
|
RecognizeEyeConditionAsync(MediaVisionSource, Rectangle, FaceRecognitionConfiguration)
Determines eye-blink condition on the media source.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<EyeCondition> RecognizeEyeConditionAsync(MediaVisionSource source, Rectangle bound, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The source of the media to recognize eye-blink condition for. |
Rectangle | bound | The bounding the face at the source. |
FaceRecognitionConfiguration | config | The configuration used for eye-blink condition recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><EyeCondition> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException |
|
System.NotSupportedException | The feature is not supported. |
RecognizeEyeConditionAsync(MediaVisionSource, Rectangle)
Determines eye-blink condition on media source.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<EyeCondition> RecognizeEyeConditionAsync(MediaVisionSource source, Rectangle bound)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The source of the media to recognize eye-blink condition for. |
Rectangle | bound | The bounding the face at the source. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><EyeCondition> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException |
|
System.NotSupportedException | The feature is not supported. |
RecognizeFacialExpressionAsync(MediaVisionSource, Rectangle, FaceRecognitionConfiguration)
Determines facial expression on media source.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FacialExpression> RecognizeFacialExpressionAsync(MediaVisionSource source, Rectangle bound, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The source of the media to recognize facial expression for. |
Rectangle | bound | The location bounding the face at the source. |
FaceRecognitionConfiguration | config | The configuration used for expression recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><FacialExpression> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException |
|
System.NotSupportedException | The feature is not supported. |
RecognizeFacialExpressionAsync(MediaVisionSource, Rectangle)
Determines facial expression on media source.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FacialExpression> RecognizeFacialExpressionAsync(MediaVisionSource source, Rectangle bound)
Parameters
Type | Name | Description |
---|---|---|
MediaVisionSource | source | The source of the media to recognize facial expression for. |
Rectangle | bound | The location bounding the face at the source. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><FacialExpression> | A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException |
|
System.NotSupportedException | The feature is not supported. |