dlib

Setup.py error when installing dlib on Windows 10 [PYTHON]

Setup.py error when installing dlib on Windows 10 [PYTHON] Question: Whenever I try to install dlib using pip install dlib or pip3 install dlib, I get the following error message error I have already downloaded cmake and cv2, and I have also added cmake bin to the environment variables, I am not sure what else …

Total answers: 1

NameError: name 'face_frame' is not defined

NameError: name 'face_frame' is not defined Question: This code has been taken from github.I have installed all the Dependencies. What could be the possible fix for this issue? If I try to run this project I get these errors Traceback (most recent call last): File "c:ProjectDrowsiness-Detection-System-for-Driversdriver_drowsiness.py", line 102, in <module> cv2.imshow("Result of detector", face_frame) NameError: …

Total answers: 3

Transform image from a side to front face view

Transform image from a side to front face view Question: I’m continiously working with face recognition issues and finally decided to try to solve the main one: how to transform face image from partial / side view to front view? The similar issue raised here at Stackoverflow but the only proposals are not working / …

Total answers: 1

How to detect cheeks using openCV?

How to detect cheeks using openCV? Question: I am working on a virtual make-up using Python, openCV, dlib. Currently, I can get the facial landmarks like lips, nose, jaw etc. But I am quite unsure on getting the points of the cheeks. Are they any recommendations? Asked By: surendhar selvam || Source Answers: If you’re …

Total answers: 1

getting Error in installing Dlib using pip

getting Error in installing Dlib using pip Question: C:Userssuraj>pip install dlib Collecting dlib Using cached https://files.pythonhosted.org/packages/35/8d/e4ddf60452e2fb1ce3164f774e68968b3f110f1cb4cd353235d56875799e/dlib-19.16.0.tar.gz Building wheels for collected packages: dlib Running setup.py bdist_wheel for dlib … error Complete output from command c:userssurajappdatalocalprogramspythonpython37python.exe -u -c “import setuptools, tokenize;__file__=’C:\Users\suraj\AppData\Local\Temp\pip-install-ytzp5t26\dlib\setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, __file__, ‘exec’))” bdist_wheel -d C:UserssurajAppDataLocalTemppip-wheel-mu6pctca –python-tag cp37: running bdist_wheel running build running build_py …

Total answers: 6

face_recognition and black&white images

face_recognition and black&white images Question: I’m using face_recognition library to recognise persons on images. According to the library documentation, it supports two input image formats for further processing: RGB (8 bit, 3 channels) and L (black and white). I tried to use face_recognition.api.load_image_file(file, mode=’RGB’) and it’s ok. But I need to use L-mode and that’s …

Total answers: 1

Dlib face detection terrible performance on C++, good in python, why?

Dlib face detection terrible performance on C++, good in python, why? Question: I am trying to write a simple face detection algorithm using OpenCV for camera capture and Dlib for face detection (using Histogram of Oriented Gradients algorithm). Using Python, I get a decent performance with around 20 fps. However, the same-ish code in C++ …

Total answers: 2

ImportError: libboost_python.so.1.65.1: cannot open shared object file: No such file or directory

ImportError: libboost_python.so.1.65.1: cannot open shared object file: No such file or directory Question: First of all, I am using ARM7 architecture . I downloaded dlib library using pre-build wheel file dlib-19.7.0-cp27-cp27mu-linux_armv7l.whl and download Boost.python libraries and built them for python libraries, and when import dlib in python2.7 I got that error >>> import dlib Traceback …

Total answers: 2