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.
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static class FaceRecognizer
- Inheritance
-
objectFace
Recognizer
Methods
RecognizeAsync(MediaVisionSource, FaceRecognitionModel, Rectangle, FaceRecognitionConfiguration)
Performs face recognition on the source with Face
Declaration
C#
Copy
[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 |
---|---|---|
Media |
source | The Media |
Face |
recognitionModel | The Face |
Rectangle | bound | Rectangular box bounding face image on the source. |
Face |
config | The Face |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Face |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
The feature is not supported. |
System. |
|
System. |
|
RecognizeAsync(MediaVisionSource, FaceRecognitionModel, Rectangle)
Performs face recognition on the source with Face
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel, Rectangle bound)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The Media |
Face |
recognitionModel | The Face |
Rectangle | bound | Rectangular box bounding face image on the source. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Face |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
The feature is not supported. |
System. |
|
System. |
|
RecognizeAsync(MediaVisionSource, FaceRecognitionModel, FaceRecognitionConfiguration)
Performs face recognition on the source with Face
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The Media |
Face |
recognitionModel | The Face |
Face |
config | The configuration used for recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Face |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
The feature is not supported. |
System. |
|
System. |
|
RecognizeAsync(MediaVisionSource, FaceRecognitionModel)
Performs face recognition on the source with Face
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FaceRecognitionResult> RecognizeAsync(MediaVisionSource source, FaceRecognitionModel recognitionModel)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The Media |
Face |
recognitionModel | The Face |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Face |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
The feature is not supported. |
System. |
|
System. |
|
RecognizeEyeConditionAsync(MediaVisionSource, Rectangle, FaceRecognitionConfiguration)
Determines eye-blink condition on the media source.
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<EyeCondition> RecognizeEyeConditionAsync(MediaVisionSource source, Rectangle bound, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The source of the media to recognize eye-blink condition for. |
Rectangle | bound | The bounding the face at the source. |
Face |
config | The configuration used for eye-blink condition recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Eye |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |
RecognizeEyeConditionAsync(MediaVisionSource, Rectangle)
Determines eye-blink condition on media source.
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<EyeCondition> RecognizeEyeConditionAsync(MediaVisionSource source, Rectangle bound)
Parameters
Type | Name | Description |
---|---|---|
Media |
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><Eye |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |
RecognizeFacialExpressionAsync(MediaVisionSource, Rectangle, FaceRecognitionConfiguration)
Determines facial expression on media source.
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FacialExpression> RecognizeFacialExpressionAsync(MediaVisionSource source, Rectangle bound, FaceRecognitionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The source of the media to recognize facial expression for. |
Rectangle | bound | The location bounding the face at the source. |
Face |
config | The configuration used for expression recognition. This value can be null. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Facial |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |
RecognizeFacialExpressionAsync(MediaVisionSource, Rectangle)
Determines facial expression on media source.
Declaration
C#
Copy
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public static Task<FacialExpression> RecognizeFacialExpressionAsync(MediaVisionSource source, Rectangle bound)
Parameters
Type | Name | Description |
---|---|---|
Media |
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><Facial |
A task that represents the asynchronous recognition operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |