TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.71k stars 1.82k forks source link

Install openFace for mac #1000

Open cccdanni opened 2 years ago

cccdanni commented 2 years ago

I am having problems when trying to install OpenFace on my Mac. May I ask how to solve this issue?

I am using the installer script (https://gitlab.com/Thom/fea_tool/-/blob/master/installer_scripts/macOS/openFace.sh) to install openFace for Mac. After this line:

cmake -D WITH_OPENMP=ON CMAKE_BUILD_TYPE=RELEASE ..

I found problems:

-- Could not find OpenBLAS include, defaulting to using OpenFace vended ones -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off CMake Error at cmake/modules/FindOpenBLAS.cmake:103 (MESSAGE): Could not find OpenBLAS Call Stack (most recent call first): CMakeLists.txt:16 (find_package)

I have installed the OpenBLAS by "brew install openblas" When I tried to install the OpenBLAS again, it showed:

openblas 0.3.19 is already installed and up-to-date.

Desktop (please complete the following information):

Thanks!

brmarkus commented 2 years ago

Without much experience under Mac-OS - do you see a way to install the "development package" of OpenBLAS via "brew" command? like "brew install openblas-dev" or "brew install openblas-devel"? Does such a concept exist under Mac-OS?

cccdanni commented 2 years ago

thanks! I did not find the package and I am using Docker now. It works!