Code Monkey home page Code Monkey logo

ankitazilpe19 / uprighthelper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaryanporwal/uprighthelper

0.0 0.0 0.0 28 KB

To have a proper posture🪑, you need to stay upright while sitting. This website uses machine learning model to learn patterns 👣 in your posture and helps your back by keeping you in a proper posture.

Home Page: https://aaryanporwal.github.io/uprighthelper/

License: MIT License

JavaScript 36.41% CSS 16.62% HTML 46.97%

uprighthelper's Introduction

uprighthelper 🪑 🤖

Description:

To have a proper posture, you need to stay upright while sitting. This website uses machine learning model to learn patterns 👣 in your posture and helps your back by keeping you in a proper posture. This is acheived by warning you whenever you are not sitting upright with an alert sound and visual effects.

Running the website:

You can run the website on: https://aaryanporwal.github.io/uprighthelper/

OR

To run the website locally:

Just clone the repo and open index.html in your browser

  1. When asked by the browser, give permission to utilize the webcam.
  2. Sit in a proper position (upright) and click the Right Position button a few times. (15-20 is usually enough). Each time you press the button it captures an image and trains the machine learning algorithm with it. So to get good results, be sure to look at different parts of the screen, lean a bit to the right/left etc.
  3. Next, sit in a wrong position, (NOT upright) and click the Wrong Position button a few times. (15-20 is usually enough). Again, try looking at different parts of the screen, etc.
  4. After doing all these steps, you are ready to go. Leave the website open and it will warn you with sound/viusals whenever you start siting in a wrong posiiton. If you think it is not working accurately enough, try adding more right position/wrong position samples to train your model better.

Important Note:

Note that, this website does not send any data to the web. Everything happens locally, which means YOUR data stays in YOUR machine. Whenever you refresh the page, all the captured data vanishes.

TO-DO

  1. Improve the interface
  2. Refactor the code (use the big brain javascript I've been learning since 5 months)
  3. Migrate to the ✨beautiful✨ ml5.js (or Tensorflow.JS if able to dedicate more time)
  4. Make a browser extension?
  5. Can use the apple's widget API to make a really cool widget for this

License

uprighthelper is a Free Software, licensed under MIT License; see License.md for details.

uprighthelper's People

Contributors

aaryanporwal avatar aayushmau5 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.