face-recognition.js
face-recognition.js copied to clipboard
Installing with own dlib library
According to your instructions:
If you want to use an own build of dlib: set DLIB_INCLUDE_DIR to the source directory of dlib set DLIB_LIB_DIR to the file path to dlib.lib | dlib.so | dlib.dylib If you set these environment variables, the package will use your own build instead of compiling dlib: npm install face-recognition
Is there any example of how to set these variables correctly? Also, is there any way to not use "npm install face-recognition" which will redownload the source code? Thanks!
If you have already installed dlib on your system use something like this. export DLIB_INCLUDE_DIR=/usr/local/Cellar/dlib/19.17/include/ export DLIB_LIB_DIR=/usr/local/Cellar/dlib/19.17/lib/
I tried auto build and manual build both way. Still cannot install it on MacOs 10.11 :(