Git Product home page Git Product logo

cv_posture_eye_tracker's Introduction

Goal

(1) Reduce computer vision syndrome through behavioral changes and alerting
(2) improve good posture while working on the computer

Functionality

uses the cameras on your laptop
-> to detect your posture (ie shoulder )
-> track eye blinks (ideally around 18 blinks per min is good)
-> tracks time
-> every 20 mins take a 20 second eye break
-> every 3hrs take a 5 min eye break

To get started

supported on windows only for now

To run the python code, follow the steps below:

(0) create a python virtual environment -> if you're using vscode then:
-> press ctrl+shift+p
-> click on: Show and run Commands
-> click on: Python: Create environment...
(0.5) activate the virtual env -> if vscode: ..venv\Scripts\activate (1) pip install -r requirements.txt
(2) python main.py
(3) A black box will appear on the top left of the screen.
-> put up a thumbs up after you set a good posture to start posture checks
(4) enjoy

download the .exe file

(1) download the git repo and click main.exe in dist/main folder

Caveats:

(1) does not support other webcams at this moments, only main camera
(2) not widely tested and in development stage

cv_posture_eye_tracker's People

Contributors

dkeum avatar

Watchers

 avatar

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.