FaceAnalyser Class¶
Namespace: id3.Face
Definition¶
Properties¶
Name |
Type |
Description |
|---|---|---|
int |
Sensibility of the expression classifier. |
|
int |
Sensibility of the over-exposure classifier, from 0 to 255. |
|
int |
Number of threads to be used for face analysis. |
|
int |
Sensibility of the under-exposure classifier, from 0 to 255. |
Methods¶
Name |
Description |
|---|---|
Applies an alpha mask to suppress the background and returns a 32-bit BGRA image. |
|
Applies a mask to replace the background with the specified color and returns a 24-bit BGR image. |
|
Verifies if an image is colorized or grayscale. |
|
Computes the age of a detected face. |
|
Computes the attributes of a detected face. |
|
Computes the background uniformity behind a detected face. |
|
Computes the expression of a detected face. |
|
Computes the eye gaze of a detected face. |
|
Computes the eye openness of a detected face. |
|
Computes the eye redness of a detected face. |
|
Computes the geometric attributes of a detected face. This function must be used for a portrait image with only one face in it. |
|
Computes the glasses attributes of a detected face. This function must be used for a portrait image with only one face in it. |
|
Computes 68 landmarks of a detected face. |
|
Measures the image noise. |
|
Computes the photographic attributes of a detected face. This function must be used for a portrait image with only one face in it. |
|
Computes the pose of a detected face. |
|
Computes the pose of a detected face using the specified 68-point landmarks. |
|
Detects the presence of a face mask on a detected face. |
|
Detects occlusions on the subject’s face. |
|
Upscale and enhance the image of a face. |
|
Computes face segmentation mask for background removal. |
|
Computes a segmentation map of a face. |