Install dlib on linux
NickName:z.muhsin Ask DateTime:2018-02-11T22:46:24

Install dlib on linux

I followed the following steps to install dlib on Linux server:

cd dlib 

mkdir build 
cd build 

cmake .. 

cmake --build . --config Release 

make install

I got the following error:

detector = dlib.get_frontal_face_detector() AttributeError: module 'dlib' has no attribute 'get_frontal_face_detector'

Why am I getting this error?

Any help would be really appreciated.

Copyright Notice:Content Author:「z.muhsin」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48732706/install-dlib-on-linux

Answers
thachnb 2018-02-13T16:16:05

I think you didn't bind python API correctly correctly. \n\npython setup.py install\n\n\nIf you still have error, please post your code, sometime wrong file name also brings error.",


More about “Install dlib on linux” related questions

Install dlib on linux

I followed the following steps to install dlib on Linux server: cd dlib mkdir build cd build cmake .. cmake --build . --config Release make install I got the following error: detect

Show Detail

How to install dlib in linux offline?

I have a linux server can not link the Internet and I wand to install dlib in my anaconda enviroment. But I do not know how to install cmake and boost for python? can any one help me? thx

Show Detail

Cannot install face_recognition or dlib on AWS linux

When i run pip install face_recognition (or pip install dlib) i get this error: Installing collected packages: dlib, face-recognition-models, face-recognition Running setup.py install for dlib ... ...

Show Detail

Install dlib error not found cublas_v2

Trying to install dlib with GPU support. Use tf image FROM tensorflow/tensorflow:latest-gpu-py3 Install cudnn COPY cudnn-9.0-linux-x64-v7.1.tgz ./ RUN tar -zxvf cudnn-9.0-linux-x64-v7.1.tgz RUN ...

Show Detail

dlib python not install on a wss

hi i am try to install dlib on a wss using pip but its giving me this error Collecting dlib Using cached dlib-19.24.0.tar.gz (3.2 MB) Preparing metadata (setup.py) ... done Building wheels for

Show Detail

How to install dlib on Ubuntu VPS on digital ocean

I have created a ubuntu vps which has below specs: Linux ubuntu-sh5tb8912admin 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux I have to run pthon flas...

Show Detail

Install dlib with cuda support ubuntu 18.04

I have CUDA 9.0 and CUDNN 7.1 installed on Ubuntu 18.04(Linux mint 19). Tensorflow-gpu works fine on GPU(GTX 1080ti). Now i am trying to build dlib with CUDA support: sudo python3 setup.py instal...

Show Detail

Failed to install dlib for python on Ubuntu

I try to install dlib on my python 3 virtual-env. I have cmake installed on my machine, the correct path of cmake is set in PATH. when running the command pip install dlib --verbose I get the follo...

Show Detail

install dlib with python 3.5 on ubuntu 16 -- how to link proper libboost .so file

I'm trying to install dlib version 19.0 on python 3.5 on a 64-bit ubuntu machine. So far I've done: sudo apt-get install libboost-all-dev I downloaded dlib version 19.0, then tar xvjf dlib-19.0...

Show Detail

Install dlib(from source, gpu) on Jetson NX did not work correctly

I am trying to use dlib (GPU) on Jetson Xavier NX, following are my steps to install dlib-19.19 dowload dlib repo from repo: https://github.com/davisking/dlib cd dlib-19.19 mkdir build cd build/ cm...

Show Detail