Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posture Fix (Shrimp Alert)

A real-time webcam posture monitor designed for desk and laptop setups. It tracks head height drop and forward hunching, triggering an audio alert when poor posture is maintained.

Features

  • Desk Posture Monitoring: Tracks head vertical drop (Nose Y) and forward lean relative to camera.
  • Interactive Calibration: 3-second live camera countdown to calibrate upright posture.
  • Visual Overlay: Displays baseline and slouch threshold lines on the video feed.
  • Audio Alert: Plays a warning sound when slouching lasts longer than 1.5 seconds.

Installation

git clone https://github.com/jayesh-cmd/posture-fix.git
cd posture-fix
pip install -r requirements.txt

Usage

Run the detector:

python main.py
  1. Sit up straight during the initial 3-second calibration window.
  2. If your head drops past the red threshold line, the alarm will sound.
  3. Controls:
    • c: Recalibrate baseline posture.
    • q: Quit the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages