The project modify from OpenPose SDK. We use the sample of OpenPose and change cpu-render code which is in the ./src/openpose/utilities/keypoint.cpp file.
We perform face alignment with the pre-trained model trained by CMU perceptual computing lab. You can download the model with cmake command, shell script getModels.sh in models folder or download model from this and unzip model into model folder. OpenCV is a additional library. You must compile code with the library. You can compile project following the steps:
- cd build && cmake .. -DCMAKE_BUILD_LIBS=Release -DCMAKE_INSTALL_PREFIX=. -DOpenCV_DIR=/your/path/of/OpenCV
- make -j 16 && make install
- cd the root path of the project
- ./build/examples/openpose/openpose.bin --face --body_disable