Closed catubc closed 3 years ago
I'm facing a similar issue when I run the eyeloop
command.
Hi! Can you please link me the video sequence that generates this error? Thanks
Simon Arvin
Hi! Can you please link me the video sequence that generates this error? Thanks
Simon Arvin
Hi @simonarvin !
I was trying to run eyeloop
directly from the camera right after installing it. Just following the steps in the main README
Raghav Prasad
me too, I have a same issue
I pushed a temporary fix to this issue (80972a8).
Until we have a better algorithm for blink detection, you can circumvent any potential errors by manually setting the threshold:
eyeloop --bthreshold [0-255]
Best, Simon Arvin
I pushed a temporary fix to this issue (80972a8).
Until we have a better algorithm for blink detection, you can circumvent any potential errors by manually setting the threshold:
eyeloop --bthreshold [0-255]
Best, Simon Arvin
I pull your src. and now I have a same error message like bellow
heck_blink() threshold must be greater than 0! Threshold was -22.12360961383699
with new error message
You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded. QObject::moveToThread: Current thread (0x7fadc85323b0) is not the object's thread (0x7fad98549460). Cannot move to target thread (0x7fadc85323b0)
how can I do??
and eyeloop --bthreshold [0-255] didn't work on my terminal
The Qt error appears to have been fixed by replacing opencv with the headless package: 7da18c2c283912c71ede4cb8e4144e36bab1b09c
Uninstall eyeloop (pip uninstall eyeloop
), then reinstall pip install .
How are you changing the threshold? For example, to set the threshold to 10, write:
eyeloop --bthreshold 10
Let me know how it goes
Best, Simon
thank you for your comment. I got a trouble shooting. if I get a great solution for it, I will share to you!! thank you guys :)
Thank you @simonarvin ! It seems to be up and running now. Just as a suggestion, since this is such a great and useful tool and I foresee a lot of people using it, perhaps you could have a forum for user doubts and issues where people from different academic backgrounds can post their queries without cluttering the GitHub issues page. Perhaps a subreddit for EyeLoop?
This sounds useful.
But we are not using the command line version, is there a way to set this programmatically?
@catubc see __init__
in engine.py, specifically # Hard-code blink inference parameters:
(188f05a).
self.blink_threshold
is the threshold for the mean brightness time derivative. You can play around with this value.
It appears that blinks are pretty distinguishable based on the brightness time derivative. A small threshold tends to detect noisy fluctuations in the mean as blinks. Conversely, a high threshold tends to underestimate blinks. Setting the threshold appropriately and automatically is on our to-do list.
This issue should be fixed now; By running eyeloop
with the argument tag --blink 1
, users can calibrate their blink thresholds to their video sequence. --blink 1
extracts n
video frames, from which the user selects all non-blinking frames. The mean and std grayscale distribution is saved and automatically opened by eyeloop
on the next run.
Hi We noticed that for some videos we have that are a bit more messy at the beginning, the standard code crashes on start up. I assume it is setting up some defaults that are not working on the data we have.
Any advice?
Outputting data to /home/cat/data/robin/eye_track_vids/trial_20201111-142930
ValueError Traceback (most recent call last)