Skip to content

Sit up Straight! This extension will help you track your posture as you browse with the help of your webcam and Tensorflow.js

License

Notifications You must be signed in to change notification settings

killa-kyle/posture-posture-posture-chrome-extension

Repository files navigation

Posture!Posture!Posture! Chrome / Firefox Extension

This extension helps you keep track of your posture as you surf the web by first taking a baseline of you sitting with good posture, and then applying a 'blur' effect when you start to deviate from your recorded "good posture" position. As soon as you sit back up, the blur goes away and you're back to browsing!

browser-view-ppp.mp4

Posture!Posture!Posture! - Chrome Extension to help track your posture as you browse | Product Hunt

How It Works

Privacy

For the extension to work as you browse it needs the "view all pages" permission. I didn't put any analytics libraries or tracking so none of your data is being monitored or ever leaves the extension. The only insight I have is the standard Chrome Webstore stats that appear in the Developer Dashboard, which just tells me how many people have installed / uninstalled the extension, and # of active users.

Install from the Chrome Web Store

Posture!Posture!Posture! on the Chrome Web Store

Install from the Firefox Addon Marketplace

Posture!Posture!Posture! on the Firefox Addon Marketplace

Installing and Running In Developer Mode

Procedures:

  1. Check if your Node.js version is >= 20.
  2. Clone this repository.
  3. Run npm install to install the dependencies.
  4. Run npm start
  5. Load the extension on Chrome following:
    1. Access chrome://extensions/
    2. Check Developer mode
    3. Click on Load unpacked extension
    4. Select the build folder.
  6. Launch the Extension.
    1. Open the Options Popup by clicking the button in the browser action menu
    2. Start the camera

      You'll need to allow camera access on first use

    3. Wait for the Model Tracking to kick in

      you'll need to make the Options window visible / active at least once for the tracking to work correctly

    4. surf the web with good posture!
      • you can reset the "Good Posture" position with the browser action menu

Technologies Included

TODO

  • [_] User adjustable posture deviation range
  • Indicate status of "Watching" or "Not Watching" in Browser Action Icon