Comments (6)
Both algorithms computes every time N and M entries have been added to their input timeseries. When the process terminates, last N and M entries are not written to result file. For examples, if your video was 300 seconds long, files will contain (300-24) seconds and (300-18) seconds - given that fps does not change.
I'll leave this issue open to be fixed later.
from eye-blink-detector.
I'm sorry but I'm a bit confused by this. What are N and M? Where did you get 24 and 18 from? The webm video I made is a looped video where the person blinks twice two seconds in, then nothing for six seconds, 2 blinks, nothing for six seconds, etc. Why are these the results? Here is a gif of the video I'm using https://gfycat.com/LightheartedSolidAfricanwilddog
eyetracker_test.webm_out.xlsx
eyetracker_test.webm_blinks_using_edges.xlsx
from eye-blink-detector.
from eye-blink-detector.
What I'd like to get out of this tool is a csv with a list of times into the video indicating when a blink occured. Is this capable of doing that?
I just realized something that might be an insight to the problem. I get the following error:
Traceback (most recent call last):
File "blinky.py", line 61, in <module>
main(vars(args))
File "blinky.py", line 35, in main
pixalBlinks = extract.find_blinks_using_pixals(data)
File "C:\Users\bermads1\Documents\SCITE\blink\extract.py", line 140, in find_blinks_using _pixals
bT, yy = t[x-1:-x], w[x-1:-x] - smoothW
ValueError: operands could not be broadcast together with shapes (0,) (75,)
I'm not sure what I did wrong. the webm file was saved in the same directory as blinky.py as eyetracker_test.webm and the command I run is:
python blinky.py -f eyetracker_test.webm
from eye-blink-detector.
I tested the your video. Seems like opencv is having trouble converting it to grayscale after first few frames.
$ ./blinky.py -f ~/Download/issue4.webm
Unfortunately I am short of time these days to test/reply quickly as I wish. Moreover, we are now moving this demo project into a real time system (with lab-rats); so most of the bugs is likely to be fixed in upcoming month.
from eye-blink-detector.
No activity.
from eye-blink-detector.
Related Issues (5)
- A lot of issues with avi format. HOT 7
- Raspberry Pi HOT 9
- 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.