Realtime Drowsiness and Yawn Detection using Python in Raspberry Pi or any other PC

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • In this video I will show you, how to implement a Drowsiness and Yawn Detector using Python. We will use libraries like OpenCV, DLIB etc. And this will work on Raspberry Pi or any other regular PC.
    Download Code and Required files:
    github.com/Ari...
    Commands used in this video:
    sudo apt-get install python3-scipy
    sudo apt-get install espeak
    pip3 install imutils
    pip3 install argparse
    pip3 install numpy
    git clone github.com/Ari...
    DLIB Installation Video:
    • Easiest way to install...
    OpenCV Installation Video:
    • Easiest way to install...
    Pyimagesearch Blog
    www.pyimagesea...
    For future updates follow us on facebook: / sparklers2018

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

  • @srinaath9845
    @srinaath9845 4 ปีที่แล้ว +3

    Nice bro. Excellent tutorial. Thank you for the good work 👏👏👌

  • @kunaldarwesh2481
    @kunaldarwesh2481 4 ปีที่แล้ว +7

    can you tell that how that voice is generated

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @joyd6609
    @joyd6609 3 ปีที่แล้ว +1

    Those working in windows, use playsound module of python for voice alerts. Its working..

    • @ramyabandaru2733
      @ramyabandaru2733 3 ปีที่แล้ว +1

      Getting an error while installing dlib

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

      Install add the path espeak

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer@@ramyabandaru2733

  • @jitendraparmar2787
    @jitendraparmar2787 3 ปีที่แล้ว +1

    Thanks for the amazing explanation ❤️🙏

  • @gencodethailand5007
    @gencodethailand5007 3 หลายเดือนก่อน

    Thank you so much. By the way, when I run the file, an error occurred. It said Numpy version different. In my Raspi I installed version 2.0 but in the code need version below 2.0. I'm not sure if I understand it correctly. Please help.

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

    Great video guys. Does the development you did work to detect Drowsiness and Yawn at night? Should I use some kind of camera with night vision?

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

      Yes, you can use a night vision camera for that.

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

      @@SPARKLERSWeAreTheMakers Thank you very much. I did several tests with Raspbeerry 3 B+, and it doesn't detect this exactly. This is very slow and inaccurate in the dark. I use an advanced usb camera with infrared, night vision that I connect to the raspberry. This USB camera works well in the dark but on my laptop, but on the raspberry it does not work well in the dark. Comparing with my laptop, my laptop is much faster, so if I work well on the laptop, but on the raspberry it is very slow and has deficiencies and does not detect well, it is not accurate.
      1. Do you have an idea if with a faster micro SD memory it already solves the problem
      2. Or is it better to use raspberry 4 B, and which raspberry 4 B do you recommend or is it better to detect drowsiness at night, the 2-gigabyte raspberry 4b or the 4-gigabyte?

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

      I have done everything as you said it in the video and eveything went right,but I'm not able to get the frame that you have shown it in the video sir please can you tell me how to do it

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

    Ha bro explain me about the alaram what to do if we want to get sound

  • @محمدالسليمان-ل8ذ
    @محمدالسليمان-ل8ذ 2 ปีที่แล้ว +1

    Hello sir,Please, how can I translate the clip into Arabic.. I hope to reply as soon as possible, and thank you for reading my comment

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

    Which version of python used? because i am getting error while importing the modules like dlib and cv2

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

      python 3 latest

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @DeepSingh-wo1tt
    @DeepSingh-wo1tt ปีที่แล้ว +1

    Is there any RPi at low coat than RPi 3 to run OpenCV for this application?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @farhanashamnad1999
    @farhanashamnad1999 3 ปีที่แล้ว +1

    How can I install dlib in pycharm? I tried using python 3.6 and also conda environment. It is still showing error ,Sir.

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @muhammadsalem9924
    @muhammadsalem9924 ปีที่แล้ว

    Can I use ESP32 instead of Raspberry Pi? Please answer

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

    hi Arijit
    thanks for your tutorial it was useful but gtts dose'n support farsi and I have to use the playsound for alarm but if it detect the both of yawn and sleepy eye it play the alarm two time and they get mix up
    can you help me what should i do???

  • @sandeepyadav-yi4um
    @sandeepyadav-yi4um 3 ปีที่แล้ว +1

    What if we connect the buzzer to the raspberry pi can you help me with code to play buzzer if the dirver is drowzy

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @nagarajrdandappanavar5091
    @nagarajrdandappanavar5091 6 หลายเดือนก่อน

    Hii sir, Im doing IOT(respberry pi) project on this
    So, Can you please tell me the components that are used in this project.
    Please reply me fast sir.
    Provide me information about components to run only for Respbeery pi not on windows
    THANK YOU sir.

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

    Can you show us hardware part as well?

  • @pratikkhandve9926
    @pratikkhandve9926 11 หลายเดือนก่อน

    Google say if you install raspberry pi os in your laptop, then it will format the laptop, is it true please reply bro

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

    Hii sir
    Which algorithm you can use to build this project

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

    hai , i am using windows to running this code. could you tell me what are you say in Minutes 21:26 .i can't call espeak

    • @ranjithshetty7078
      @ranjithshetty7078 3 ปีที่แล้ว +1

      U must install and add the path to espeak

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer@@ranjithshetty7078

  • @pratikkhandve4942
    @pratikkhandve4942 9 หลายเดือนก่อน

    Command sudo apt-get install espeak not working please reply sir

  • @shalmalsakpal2925
    @shalmalsakpal2925 ปีที่แล้ว

    Can we convert it to an app for Android ???

  • @shrutir8864
    @shrutir8864 3 ปีที่แล้ว +1

    is there any way to convert this model to tflite to deploy it on ESP32 ? to run it locally?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

    Sir "What is the algorithm Used in This Project"

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

    is it camera work in night without lights? please reply any one

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

    Thank for the video Bro❤️

  • @silentpaiyan3044
    @silentpaiyan3044 ปีที่แล้ว

    Dlip i can't install how to solve this

  • @bassantreda2858
    @bassantreda2858 10 หลายเดือนก่อน

    Is that deep learning??

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

    Sir, memory error is occurred and I can't solve it.

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

    Shape=predictor(gray,rect)
    Type error: __call__() is not Unfinished ....Also getting this error plzzz give me solution...

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

    Great work thanks. Is that Raspberry Pi 4 or 3?

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

      Raspberry pi 3

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

      @@SPARKLERSWeAreTheMakers how are you getting such good FPS in camera???

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @_superhuman_
    @_superhuman_ ปีที่แล้ว

    Hey Sir, I am having some problems in using this on raspberry pi.
    It is giving this error called
    "ImportError : libf77blas.so.3: cannot open the shared file : No such directory"

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

    Hey sir...thnks for this tutorial...i have question about yawn detection...what is the equation to calculate yawn value ?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

    Hello sir, very nice work and video. btw, if I want to change the input from webcam to video file, is that possible? and what should I change from the coding? Your prompt reply would be appreciated, sir. Thanks!

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

      Yes, you can do that. Just instead of reading from webcam, read frames from the video. You can use cv2.VideoCapture().

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

      Hai bro

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

      Hai bro

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

    Awesome 👍

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

    Hello sir, Very nice video. I understood the coding part, can you please attach the circuit diagram and components used in this project. It will be very helpful for us.

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

      You just need to connect a webcam and speaker with the Raspberry Pi.

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

      @@SPARKLERSWeAreTheMakers hello sir. "need to connect a webcam and speaker" do you refer to the laptop's webcam and speaker or you use raspberry pi camera?

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

      @@SPARKLERSWeAreTheMakers I have executed the code but I am not able to get speaker output from raspberry PI. I installed espeak as well. Is there anything else that I need to do in order to make it work?? Please let me know.
      Thank you for uploading such detailed explanation.

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

      @@SPARKLERSWeAreTheMakers I have successfully run the code and also got audio output. But there is a delay in the audio output, I'm getting sound after some lag. Is there any fix for this?? Please share thank you once again for your video.

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

      @@ajayreddy5090 hai bro

  • @siamuddin9157
    @siamuddin9157 10 หลายเดือนก่อน

    How i can run it in windows 10 visual code.?
    What i need to do.?

    • @pratikkhandve9926
      @pratikkhandve9926 7 หลายเดือนก่อน

      Same problem bro but he is not replying 😢😢😢😢

  • @mayankkhandelwal0762
    @mayankkhandelwal0762 ปีที่แล้ว

    can we run the project without the use of raspberry pi and a webcam?????

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    which algoritm u used in this project

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

    Thanks Bhai ❤

  • @MOKARAHEMANTHKUMARBCE
    @MOKARAHEMANTHKUMARBCE ปีที่แล้ว

    Thank you❤

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

    shape = predictor ( gray , rect )
    TypeError: 'NoneType' object is not callable
    i am getting this error at line 109 pls can you solve bro @sparkles

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

    hello!! sir can i do the same project on raspberry pi Zero W...?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @ودادمحمد-ج3ن
    @ودادمحمد-ج3ن 2 ปีที่แล้ว

    I want data set ready

  • @pratikkhandve4942
    @pratikkhandve4942 ปีที่แล้ว

    Sir your code is working can you replace espeak with a music.wav file i have a file please provide the code it's my final year project please help sir❤❤❤❤❤

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    There is an error *predictor=dlib.shape_predictor('shape_predictor_68_face_landmarks.dat)
    AttributeError: module 'dlib' has no attribute 'shape_predictor.
    How to solve it

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

      I'm getting the same error.... Did you find the solution?

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

      Hello, Try Miniconda for installing dlib.

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

      @@harshparmar7704 guys type the full address of the directory /sda/asdad/shap....dat

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

      @@bharathnandan2067 guys type the full address of the directory /sda/asdad/shap....dat

    • @arannopaul2280
      @arannopaul2280 3 ปีที่แล้ว +1

      Here I'm getting memory error? How I can solve this?

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

    How to autorun a program in raspberry pi

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer 🌹

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

    is it possible in esp32cam

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    Bro.. How can I contact you?

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

    Sabas vai.keep it up

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

    Hello sir

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

    Please make video on how you setup all application like python it's version , what changes need to do for beingner and as I belong to mechanical want perform to this project . What are basis setup nd installation required on new laptop

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

      In the description of the video, I have clearly mentioned the commands to install all the libraries. And by seeing the commands you should easily understand I have used python3. And for dlib and opencv installation I have separate videos on my channel.

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

    sir how to solve 'espeak' is not recognized as an internal or external command,
    operable program or batch file.

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @amitmaji8423
    @amitmaji8423 3 ปีที่แล้ว +1

    Bro pls help me how to install dlib on python 3.7

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

    i have error using espeak raspberry pi error about alsa !!!!

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer🌹

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

    How i can make espeak work on Windows machine

  • @svdlaboratory7957
    @svdlaboratory7957 5 หลายเดือนก่อน

    dlib is not getting installed
    what to do?

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

    Hello Sir, do i have to write the - ap.add_argument("-w", "--webcam", type=int, default=0,
    help="index of webcam on system") .....command in line 74, if i am using a raspberry pi cam?

    • @rgt2573
      @rgt2573 ปีที่แล้ว

      hi bro did it work for u???

    • @yashwanthreddy3084
      @yashwanthreddy3084 ปีที่แล้ว

      help me bro i have the same problem....

    • @yashwanthreddy3084
      @yashwanthreddy3084 ปีที่แล้ว

      ​@@rgt2573 did you got the solution bro?

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

    Having error in importing all lib required and you mentioned

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

      Hey, I also have same problem. Error in importing DLIB library and CB2. How Did you managed to overcome this?

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

      @Varnika Sangwan I got the solution.

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

    I am getting error that shape predictor not found . You have provided the DAT file of shape predictor . Can you please help how can i use that DAT format file to run my error

  • @pratikkhandve4942
    @pratikkhandve4942 ปีที่แล้ว

    Can you please change the espeak with music.wav , espeak is showing error

  • @ودادمحمد-ف8ض
    @ودادمحمد-ف8ض 2 ปีที่แล้ว

    I'm looking for the best eye tracking dataset, do you know where it is?

  • @muhammadsalem9924
    @muhammadsalem9924 ปีที่แล้ว

    Can I use ESP32 instead of Raspberry Pi? Please answer

  • @yuvrajtiwari3485
    @yuvrajtiwari3485 ปีที่แล้ว

    can we do this same project on mobile using pydroid

  • @faridareda5292
    @faridareda5292 10 หลายเดือนก่อน

    Can anyone know if this is deep learning or not?

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

    How can i stop that yawning function.. Only run ear function?

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

    I am getting error in this Rects= detector (gray,0) in line 101
    Indentation error : unexpected indent plz share the solution

  • @chinmayeeyeladi1172
    @chinmayeeyeladi1172 ปีที่แล้ว

    espeak is not working can anyone guide plzz

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

    How to install Dlib in pycharm a complete video plz🙏🙏🙏🙏

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

    espeak is not an intrnal or external command

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

    Hi can we speak over call?

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

    while i am run this code then it will gave error like this (can't open shape_predictor_68_face_landmark.dat ) file

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

      download it on internet, it's like a library.

  • @monerbenor6624
    @monerbenor6624 ปีที่แล้ว

    speaker not recognized "enternal or external" :( can you help solving the speaker issue plz

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

  • @Raushankumar-rp4bg
    @Raushankumar-rp4bg ปีที่แล้ว

    hello bro can u solve my issue please that what i have to do in code for using the normal camera of my laptop

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    While running the git clone it is asking userid and password for githublogin to download

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

    Hey sir
    I have already an frame in video form which i display driver drowsinees detection and I want to add it to my GUI (graphiq user interface) with Tkinter

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    That's a great video and very good explanation SPARKLERS : We Are The Makers. For hardware I have Raspberry PI 4 board, What camera should I use? Will Pi NoIR camera work for this?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

    Great sir.your code is working but alerting through alarm in pc is not getting

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    Can you gave me suggestions please...

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

    Hey can we implement this on an android app, using app studio?

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

    amazing project can u add neopixel to this project?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    could u tell me about the hardware spec? Rpi model and camera spec?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    can you tell the list of hardware components required with raspberry pi 3 for this project and that espeak works with buzzer or something else is required ????

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 instead of Raspberry Pi? Please answer

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

      So have you found or think about required objects for this project?

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

    I am getting an error "Attribute Error: Nonetype object has no attribute shape"
    Please help

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

    thank you for sharing your knowledge

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

    Research paper bhe likha tha kya bro❤️

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

    How can I install dlib in pycharm, getting error in installing dlib after successfully installed cmake, please reply soon brother !!

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

      Hey, Try Miniconda for installing Dlib's and other packages it will help you.

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

      try installing cmake first

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    Thanks bro👍👍

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

    Hey, Whole code worked for me but the alarm or espeak showing error. Code is detecting YAWN and showing on screen but no no audio message excited.

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

      hi
      can u please tell me how u got the output.i am running the code but it is showing that ..
      # if both the width and height are None, then return the
      AttributeError: 'NoneType' object has no attribute 'shape'.in shape detector dataset there is no data.
      file also not openig.can u please help me

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

      @@sindesasikalabai4185 Maybe because of dependencies. Check you installed necessary packages.

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

      @@harshparmar7704 hi I have the same problem. There is no audio sound. I use Windows pycharm. I have installed the speak3 package. Can you tell me what package to install?

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

      @@jeffreyli3268 according to my research espeak is not working in windows. So replace sound output function using "pygame" with espeak function.

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

      ok

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

    Which Version of Raspberry pi you used?

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

      Raspberry pi 3 B +

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

      @@SPARKLERSWeAreTheMakers I ordered Raspberry pi 4. Can you tell me which camera do you used?

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

      @@SPARKLERSWeAreTheMakers Bro raspberry pi 3 is ok here?

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    Great video sir, i tried cloning, but it asks for user name and password, could you help as am working on it, awaiting your quick reply

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

      also now frame window is ot working

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

    Hey bro thanks from Pakistan. Would you tell me that can i use raspberry pi 3 here 2gb version or should i use any other version of raspberry pi. And which camera you use here?

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

      You can use any raspberry pi version in the same way. You can use the 5 MP raspberry pi camera or any webcam.

    • @muhammadsalem9924
      @muhammadsalem9924 ปีที่แล้ว

      Can I use ESP32 OR any other solution instead of Raspberry Pi? Please answer

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

    Brother, I need your help to this. Which python did you use here? I tried with latest 3.9 and 3.7 but this wasn't working for me. Actually I'm using PyCharm. My main issue is couln't install opencv-python and dlib to my computer.

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

      Use python 3.6, change the interpreter on the pycharm settings and make virtual environment.

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

      @@athaya_abi Thanks for the reply. Actually It's working now

    • @rgt2573
      @rgt2573 ปีที่แล้ว

      @@athaya_abi hi bro need your help in executing this project...

    • @athaya_abi
      @athaya_abi ปีที่แล้ว

      @@rgt2573 Hello, I can help you. Just let me know, what the problem is.

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

    dlib is not installing in pycharm

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

      first install cmake and then install dlib