Project based on: https://github.com/TadasBaltrusaitis/OpenFace
Mac installation: https://github.com/TadasBaltrusaitis/OpenFace/wiki/Mac-Installation
Parameters for input
- -f the video file being input, can specify multiple files
- -fd the directory where depth files are stored (deprecated)
- -root the root of input and output so -f and -ov can be specified relative to it
- -inroot the root of input so -f can be specified relative to it
- -outroot the root of output so -ov can be specified relative to it
Parameters for output
- -ov where to output video file with tracked landmarks
Single image analysis
- -f the image file being input, can have multiple -f flags
- -of location of output file for landmark points and action units
- -op location of output file for 3D landmark points
- -oi location of output image with landmarks
- -root the root directory so -f, -of, -op, and -oi can be specified relative to it
- -inroot the input root directory so -f can be specified relative to it
- -outroot the root directory so -of, -op, and -oi can be specified relative to it
CMake:
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE .
To compile:
sudo make
cd ~/Desktop/Facial-Emotion-Recognition
To test Images:
./bin/Image -f "./input/images/isk.jpg" -ofdir "./output/images/" -oidir "./output/images/"
To test Videos:
./bin/Video -f "./input/videos/DRPHIL-02-01.mp4" -of "./output/videos/DRPHIL-02-01.xlsx" -ov "./output/videos/DRPHIL-02-01.mp4"