Easiest way to install Dlib for Python in Raspberry Pi
ฝัง
- เผยแพร่เมื่อ 2 ต.ค. 2024
- In this video I will show you how to install dlib for python in Raspberry Pi.
Commands used in this video:
sudo nano /etc/dphys-swapfile
sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start
free -m
sudo raspi-config
sudo apt-get update
sudo apt-get install build-essential cmake
sudo apt-get install libgtk-3-dev
sudo apt-get install libboost-all-dev
wget bootstrap.pypa...
sudo python3 get-pip.py
pip3 install numpy
pip3 install dlib
For future updates follow us on facebook: / sparklers2018
hi sir i am unable to find memory split option[to change 64 to 16] in raspi-config,
i am using raspberry pi 4b model, plz help me out sir, i cant download any libraries for python dlib,opencv etc, plz plz hlep me sir.
Hi Sir, i am facing a problem while importing dlib --
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/dist-packages/dlib/__init__.py", line 19, in
from _dlib_pybind11 import *
ImportError: libatlas.so.3: cannot open shared object file: No such file or directory
Please help me resolve this.
i used raspberry pi camera and it got this error....VIDEOIO ERROR: V4L: can't open camera by index 0
Traceback (most recent call last):
File "face_detect.py", line 18, in
frame = imutils.resize(frame, width=450)
File "/home/pi/.local/lib/python3.7/site-packages/imutils/convenience.py", line 69, in resize
(h, w) = image.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Did you get it resolved?
I tried it but after reboot it gives error failed to share memory split. Can you help me?
Pip install dlib is taking 3 hours and yet not completed.
Stuck at "Running setup.py bdist_wheel for dlib ... "
How long will it take?
I'm using Raspberry pi B+
3 hours is too much I think, but still you should wait until it completes.
@@SPARKLERSWeAreTheMakers its been almost 8hrs yet stuck there only any fix?
@@jeetkapadia5239 try typing "pip3 install dlib -vv" so you can see the progress of the download
Sir
I amno getting the option of camera in Raspberry pi 4 board.
Please help me where to enable
I had the same problem with the bookworm version when installed using the pi imager. I fixed it earlier by installing the Bullseye OS. Hope this helps.
hi, thanks for sharing, which raspberry pi version do you recommend? or are you using?
I am using raspberry Pi 02W and it is already 4 hrs and it's building wheel aand not complete
Nice wallpaper where can I download that pic
I have instaled dlib and cv2 without erreur using just pip install dlib the installation finished successfully...should i execute alll this command or not ?
If those are installed successfully, then not required
Sir
Can i install usb web cam logitech
took me 15 seconds for dlib installaatino
How?
How to install it in laptop?
Jazakallahu khoir
thanks sir
great job.
Hello bro i tried it for raspberry pi 4 after rebooting it shows failed to allocate memory please help me bro, i have only one week left to complete the project,i can pay u bro
How did you solve the error ?
it work's thank's