Results of accuracy evaluation on
RAF-DB.
NOTE: This demo uses
../face_detection_yunet as face detector, which supports 5-landmark detection for now (2021sep).
1# recognize the facial expression on images
2python demo.py --input /path/to/image -v
1# A typical and default installation path of OpenCV is /usr/local
2cmake -B build -D OPENCV_INSTALLATION_PATH=/path/to/opencv/installation .
3cmake --build build
4
5# detect on camera input
6./build/opencv_zoo_face_expression_recognition
7# detect on an image
8./build/opencv_zoo_face_expression_recognition -i=/path/to/image
9# get help messages
10./build/opencv_zoo_face_expression_recognition -h
Note: Zoom in to to see the recognized facial expression in the top-left corner of each face boxes.
All files in this directory are licensed under
Apache 2.0 License.