Struct ExpressionSubject#

Struct Documentation#

struct ExpressionSubject

One detected face’s blendshape scores and classified expression within a single analysed frame. Mirrors run_expression.py’s _frame_to_dict() “subjects” entries exactly.

Public Members

int subjectId = -1
double confidence = 0.0
QRectF bbox

bbox_xyxy.

QVector<double> blendshapeScores

Parallel to ExpressionResult::blendshape_names().

QString dominantExpression
double dominantScore = 0.0
QVector<double> actionUnits

FACS Action Unit intensities (py-feat backend only), each in [0,1], parallel to ExpressionResult::au_names(). Empty for the heuristic/ FER+ backends and for any session analyzed before this field existed.