face-recognition.js icon indicating copy to clipboard operation
face-recognition.js copied to clipboard

Installing with own dlib library

Open LYYYYL opened this issue 6 years ago • 1 comments

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!

LYYYYL avatar Feb 13 '19 07:02 LYYYYL

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 :(

je3f0o avatar Apr 06 '19 17:04 je3f0o