Comments (9)
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.
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.
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 requiredDo 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.
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.
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.
from eye-blink-detector.
from eye-blink-detector.
Check if recent commit fixed your issue.
from eye-blink-detector.
No activity.
from eye-blink-detector.
Related Issues (5)
- A lot of issues with avi format. HOT 7
- Output HOT 6
- blinky_webcam.py HOT 5
- Error on using blinky_gui.py HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eye-blink-detector.