Git Product home page Git Product logo

Comments (9)

dilawar avatar dilawar commented on August 19, 2024

Unfortunately I don't have raspberry-pi to test the code. If you can post the
exact error msg, I can give some pointers.

On Mon, Mar 28, 2016 at 11:53:40PM -0700, arehman26 wrote:

I am trying to use your code for raspberry pi but i am getting stuck in importing the files itself,
i cant import the extract and webcam file in the blink.py, i have tried whatever i could find


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#2

from eye-blink-detector.

arehman26 avatar arehman26 commented on August 19, 2024

I got the file import to work but when I try to run the code I get this error.

usage: blinky.py [-h] -- video-file VIDEO_FILE [--bbox BBOX [BBOX...]]
blinky.py: error: argument --video-file/-f is required

Do we have to record a video for it to work or does it capture the video and than look for blinks at the same time?

You have specified two methods for this process, one is edge and the other is dark pixals. both of them are integrated into all together or are they like 2 files for one method?

Thanks

from eye-blink-detector.

dilawar avatar dilawar commented on August 19, 2024

Ah, I see. Currently the code works for video files only. I am making changes to
make it work on both camera and video file. I hope to finish/test it by this
weekend.

Both methods run currently. There is no way to choose one between them. I'll
probably make it optional to choose one.

best,
Dilawar

On Wed, Mar 30, 2016 at 10:19:26PM -0700, arehman26 wrote:

I got the file import to work but when I try to run the code I get this error.

usage: blinky.py [-h] -- video-file VIDEO_FILE [--bbox BBOX [BBOX...]]
blinky.py: error: argument --video-file/-f is required

Do we have to record a video for it to work or does it capture the video and than look for blinks at the same time?

You have specified two methods for this process, one is edge and the other is dark pixals. both of them are integrated into all together or are they like 2 files for one method?

Thanks


You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#2 (comment)

from eye-blink-detector.

dilawar avatar dilawar commented on August 19, 2024

There is another script ~/blinky_webcam.py which might be able to use webcam (it works on linux). You would need to do the following on ubuntu

  • apt install gnuplot
  • pip install gnuplotlib

from eye-blink-detector.

vasulg avatar vasulg commented on August 19, 2024

getting this error working on ubuntu
Traceback (most recent call last):
File "/home/vasupilli/Desktop/New folder (3)/Current/eye-blink-detector-master/blinky_webcam.py", line 176, in
main()
File "/home/vasupilli/Desktop/New folder (3)/Current/eye-blink-detector-master/blinky_webcam.py", line 153, in main
init()
File "/home/vasupilli/Desktop/New folder (3)/Current/eye-blink-detector-master/blinky_webcam.py", line 76, in init
box_ = webcam.get_bounding_box(fstFrame)
File "/home/vasupilli/Desktop/New folder (3)/Current/eye-blink-detector-master/webcam.py", line 143, in get_bounding_box
current_frame_ = frame.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

from eye-blink-detector.

dilawar avatar dilawar commented on August 19, 2024

from eye-blink-detector.

vasulg avatar vasulg commented on August 19, 2024

from eye-blink-detector.

dilawar avatar dilawar commented on August 19, 2024

Check if recent commit fixed your issue.

from eye-blink-detector.

dilawar avatar dilawar commented on August 19, 2024

No activity.

from eye-blink-detector.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.