Perfectly Clear SDK Documentation  9.1.1.325
PFCFaceRect Struct Reference

Structure defining face attributes detected by the Face Detection library. More...

#include <PerfectlyClearPro.h>

Data Fields

PFCRECT rect
 Specifies the bounding rectangle of a face.
 
PFCRECT rcEyeL
 Specifies the bounding rectangle of the left eye.
 
PFCRECT rcEyeR
 Specifies the bounding rectangle of the right eye.
 
PFCRECT rcMouth
 Specifies the bounding rectangle of the mouth.
 
PFCPOINT ptEyeL
 Specifies the x,y coordinates of the left eye, in fixed-point arithmetics (10 bit precision).
 
PFCPOINT ptEyeR
 Specifies the x,y coordinates of the right eye, in fixed-point arithmetics (10 bit precision).
 
int angle
 Roll angle of the face, from -179 to 180 degrees. 0 degrees means the face it oriented "normally", positive rotation is clockwise, so that +90 degrees means the eyes are on the right side, and the mouth on the left.
 
int blinkLevel
 Indicates the presence of a blink.
 
int blinkLevelL
 Left eye Blink level.
 
int blinkLevelR
 Right eye Blink level.
 
int childLevel
 We don't implement this.
 
int confidence
 A numerical parameter describing the confidence attributed by the detection algorithm to each face.
 
int smileLevel
 Indicates the presence of a smile.
 
int yawAngle
 The Yaw or profile angle, from -90 (left profile) to 90 (right profile)
 
int FAE [3]
 Internal data for Face Aware Exposure.
 
int widthImage
 image width
 
int heightImage
 image height
 

Detailed Description

Structure defining face attributes detected by the Face Detection library.

Detection levels:*

  • -1 = not detected
  • 0 = not able to detect
  • 1 to 100 = attribute detected, higher value means higher confidence, with 50 being a good trade-off between detection and false-positive.

Definition at line 217 of file PerfectlyClearPro.h.


The documentation for this struct was generated from the following file: