430c8057b8a2d7d3a7a9230f3a0ee3824e2ed62d
The legacy display remap in FaceAttributeToJsonString rewrote most emotions to "Attentive", which hid the v1.4 classifier's real classes. The remap now applies ONLY to the legacy OpenVINO model's lowercase classes (sad/happy/neutral/anger/surprise - v1.1 output unchanged); every other name, i.e. the classes read from emotionsrecognition.names (Angry, Fear, Happy, Neutral, Sad), passes through verbatim. A retrained classifier with a different .names list needs no code change. Verified on the classroom video: faces previously labelled "Attentive" now read "Angry (100%)"; smiling faces read "Happy (100%)". Parity test updated to check each pack against its own emotion vocabulary. Note for client code: v1.4 deployments no longer emit "Attentive" - anything matching that string must handle Angry/Fear/Sad instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Description
No description provided
13 MiB
Languages
C
55.3%
C++
43.4%
Python
0.5%
CMake
0.3%
Objective-C++
0.2%
Other
0.2%