How to install Dlib on Ubuntu

Download “dlib-19.16.tar.bz2” at “http://dlib.net”. tar xvf dlib-19.16.tar.bz2 cd dlib-19.16 python setup.py installpython3 setup.py install —————– Shared Library —————– mkdir shared_buildcd shared_buildcmake -DBUILD_SHARED_LIBS=1 -DUSE_AVX_INSTRUCTIONS=ON ..cmake –build . –config Releasemake 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 …