GithubHelp home page GithubHelp logo

Fire click action with blinking about tracky-mouse HOT 5 OPEN

1j01 avatar 1j01 commented on June 20, 2024
Fire click action with blinking

from tracky-mouse.

Comments (5)

1j01 avatar 1j01 commented on June 20, 2024 1

I don't think there are any good blink detection libraries out there, not with accurate detection.
I think I would try using Teachable Machine, with webcam images cropped around the head region (don't want to be too narrow in case the head tracking is laggy or inaccurate), possibly normalized in other ways.
I had some good initial success with it, with their web application where you can train directly from your webcam.
I got it to detect me blinking pretty well in under five minutes. Then I discovered cases where it didn't work, like moving significantly away from my starting head position. I tried training it more deliberately, giving it samples with different head positions and facial expressions. I don't think it got that much better...? But I think cropping could help a lot, so it focuses on the important parts (the eyes) and less on irrelevant background details.
If given a proper dataset of lots of open and closed eyes, it could be immediately usable for most people, and then the really interesting part is the user could be allowed to teach it new examples at runtime, based on their specific conditions (e.g. wearing novelty glasses, having a rare eye disease, rare eye color, and weird lighting all at once? it could happen! even while Black)

from tracky-mouse.

1j01 avatar 1j01 commented on June 20, 2024

I have implemented dwell clicking already (click by hovering in one spot), although it's not released in that demo yet.
Other clicking options like blink detection are planned, but I don't have any timeline for this project. Unfortunately this project is hard for me to work on due to serious health issues I have with my neck.

from tracky-mouse.

wederfabricio avatar wederfabricio commented on June 20, 2024

I'm sorry for your health issues.

I would like to implement this functionality, to click by blink. If you give more information like a lib to blink detection, I can implement this and submit a PR to your approval.

What do you think about this?

from tracky-mouse.

wederfabricio avatar wederfabricio commented on June 20, 2024

Awesome! I'm finishing some college projects now, I plan to resume this soon.

Thank you so much, you are making excellent progress.

from tracky-mouse.

1j01 avatar 1j01 commented on June 20, 2024

An update: I've integrated dwell clicking into the desktop app (previously it was only part of the library).
I'm narrowing this issue down to focus on eye blink clicking support, and I'm opening an issue for mouth gestures: #25

from tracky-mouse.

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.