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

ความคิดเห็น • 27

  • @ArjunVirat-b8k
    @ArjunVirat-b8k 2 หลายเดือนก่อน

    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.

  • @rajdeepshaw8070
    @rajdeepshaw8070 2 ปีที่แล้ว +1

    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.

  • @ajitkumarchaurasiya3076
    @ajitkumarchaurasiya3076 3 ปีที่แล้ว +2

    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'

  • @faizahassan2906
    @faizahassan2906 4 ปีที่แล้ว +1

    I tried it but after reboot it gives error failed to share memory split. Can you help me?

  • @barathkumar7940
    @barathkumar7940 4 ปีที่แล้ว +2

    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+

    • @SPARKLERSWeAreTheMakers
      @SPARKLERSWeAreTheMakers  4 ปีที่แล้ว

      3 hours is too much I think, but still you should wait until it completes.

    • @jeetkapadia5239
      @jeetkapadia5239 2 ปีที่แล้ว

      @@SPARKLERSWeAreTheMakers its been almost 8hrs yet stuck there only any fix?

    • @speedy_petey
      @speedy_petey 2 ปีที่แล้ว +1

      @@jeetkapadia5239 try typing "pip3 install dlib -vv" so you can see the progress of the download

  • @bipinbiharisahoo8583
    @bipinbiharisahoo8583 8 หลายเดือนก่อน +1

    Sir
    I amno getting the option of camera in Raspberry pi 4 board.
    Please help me where to enable

    • @arumaril
      @arumaril 6 หลายเดือนก่อน +1

      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.

  • @scart07
    @scart07 3 ปีที่แล้ว

    hi, thanks for sharing, which raspberry pi version do you recommend? or are you using?

  • @immortalgamer705
    @immortalgamer705 4 หลายเดือนก่อน

    I am using raspberry Pi 02W and it is already 4 hrs and it's building wheel aand not complete

  • @pradeepmanoharan4859
    @pradeepmanoharan4859 2 ปีที่แล้ว +1

    Nice wallpaper where can I download that pic

  • @ismailnasri7241
    @ismailnasri7241 4 ปีที่แล้ว

    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 ?

  • @bipinbiharisahoo8583
    @bipinbiharisahoo8583 8 หลายเดือนก่อน

    Sir
    Can i install usb web cam logitech

  • @vivekkommi
    @vivekkommi 3 ปีที่แล้ว +2

    took me 15 seconds for dlib installaatino

  • @adarshjha1792
    @adarshjha1792 3 ปีที่แล้ว

    How to install it in laptop?

  • @techgirl6156
    @techgirl6156 3 ปีที่แล้ว

    Jazakallahu khoir

  • @daniyalshahid4349
    @daniyalshahid4349 4 ปีที่แล้ว

    thanks sir

  • @md.emadulhasan1197
    @md.emadulhasan1197 5 ปีที่แล้ว

    great job.

  • @bharathnellore581
    @bharathnellore581 4 ปีที่แล้ว

    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

  • @Jajun
    @Jajun 4 ปีที่แล้ว

    it work's thank's