Thursday, June 27, 2019

Installing OpenFace on MacOS Mojave

OpenFace is an open source tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye gaze estimation.

Basically I was following the instruction here and here. I have been facing several failures in installing OpenFace 2.0. After combining the information from those two instructions, finally it works on my Mojave.

OpenFace is having very high dependencies. So, please make sure you have a good and stable internet connection. Basically, you need to have boost, dlib, OpenBLAS and OpenCV, but I might  have been missing to mention some other dependencies, so, please let me know if you find me missed it. I give asterisk mark (*) to note the mandatory step. There are 9 steps, 8 steps are prerequisites, step 8 is building, step 9 is testing.

Prerequisites

1*. Download the OpenFace Project from this repo 
https://github.com/TadasBaltrusaitis/OpenFace 
2. The landmark detection model is not included in the direcotry you download in step 1. But you can download it using bash download_models.sh
./download_models.sh