Install dlib on python 3
Learn from
Installation Steps
$ pip install numpy
$ pip install scipy
$ pip install -U scikit-image
$ pip install dlib
Install dlib on c++
# build dlib locally
wget http://dlib.net/files/dlib-19.6.tar.bz2
tar xvf dlib-19.9.tar.bz2
cd dlib-19.6/
mkdir build
cd build
cmake ..
cmake --build . --config Release
sudo make install
# update the link libraries, so that programs knows where to find the dynamic lib during run time
sudo ldconfig
cd ..
# Now you can use pkg-config to provide path to Dlib’s include directory and link Dlib library file. This is useful during build time
pkg-config --libs --cflags dlib-1
沒有留言:
發佈留言