How to install Dlib on Ubuntu

Download “dlib-19.16.tar.bz2” at “”.

tar xvf dlib-19.16.tar.bz2

cd dlib-19.16

python install
python3 install

—————– Shared Library —————–

mkdir shared_build
cd shared_build
cmake –build . –config Release
make install

# AVX works on processors released after 2011, which is the fastest one.
# SSE2 works for most Intel or AMD chips: -DUSE_SSE2_INSTRUCTIONS=ON
# SSE4 works for most current machines: -DUSE_SSE4_INSTRUCTIONS=ON

Leave a Reply