Giter VIP home page Giter VIP logo

webcam-posture-tracker's Introduction

PostureTracker

Capture pose data through the webcam with TensorFlow and OpenPose; post it to firestore for later use.

Demo: https://evandaley.github.io/webcam-posture-tracker/

Next steps

  • Now that Google OAuth is working, the next step is to post the skeletal data to an event stream that can be read from other systems (in progress). I'd like to have one device off to the side, publishing the ML output data only (no images), and the device in front of me showing the metrics.

Longer term goals is to have data consumers for

  • for realtime alerts: "your posture is bad now"
  • and aggregation: "your posture was bad for ten hours

How to use it

Live site: https://evandaley.github.io/webcam-posture-tracker/authless

Ideally, just visit the website on your phone or a spare laptop/phone/webcam and have that pointed at you from a distance.

If the camera is head on, you won't get much data. Head On

Ideally, you want it from the side and like 8-10 feet away. Side View

Once I get the backend stuff set up (probably next weekend), you'll be able to use multiple devices (1 for tracking, 1 to view metrics or receive alerts). diagram

Run locally

If you want to run this locally, you can do that with

cd pose_tracking_web_app
yarn install
yarn run dev

Deploy to github pages with

yarn run ship

Enjoy!

webcam-posture-tracker's People

Contributors

evandaley avatar

Watchers

James Cloos avatar  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.