Git Product home page Git Product logo

Comments (6)

dilawar avatar dilawar commented on August 19, 2024

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.

dberma15 avatar dberma15 commented on August 19, 2024

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.

dilawar avatar dilawar commented on August 19, 2024

from eye-blink-detector.

dberma15 avatar dberma15 commented on August 19, 2024

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.

dilawar avatar dilawar commented on August 19, 2024

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.

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.