Giter VIP home page Giter VIP logo

Comments (13)

raghavprasad13 avatar raghavprasad13 commented on June 18, 2024 1

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?

from eyeloop.

raghavprasad13 avatar raghavprasad13 commented on June 18, 2024

I'm facing a similar issue when I run the eyeloop command.

from eyeloop.

simonarvin avatar simonarvin commented on June 18, 2024

Hi!
Can you please link me the video sequence that generates this error? Thanks

Simon Arvin

from eyeloop.

raghavprasad13 avatar raghavprasad13 commented on June 18, 2024

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

from eyeloop.

YangDongJae avatar YangDongJae commented on June 18, 2024

me too, I have a same issue

from eyeloop.

simonarvin avatar simonarvin commented on June 18, 2024

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

from eyeloop.

YangDongJae avatar YangDongJae commented on June 18, 2024

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??

from eyeloop.

YangDongJae avatar YangDongJae commented on June 18, 2024

and eyeloop --bthreshold [0-255] didn't work on my terminal

from eyeloop.

simonarvin avatar simonarvin commented on June 18, 2024

The Qt error appears to have been fixed by replacing opencv with the headless package:
7da18c2

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

from eyeloop.

YangDongJae avatar YangDongJae commented on June 18, 2024

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 :)

from eyeloop.

catubc avatar catubc commented on June 18, 2024

This sounds useful.

But we are not using the command line version, is there a way to set this programmatically?

from eyeloop.

simonarvin avatar simonarvin commented on June 18, 2024

@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.

from eyeloop.

simonarvin avatar simonarvin commented on June 18, 2024

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.

from eyeloop.

Related Issues (20)

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.