Caution
This is a very early WIP/prototype
The idea is simple: Use the webcam and some magic to detect bad posture and alert with a sound.
pip install -r requirements.txt
python posture_correction.py
In debug mode, the webcam input is rendered with some landmarks and other information.
python posture_correction.py -d
# or
python posture_correction.py --debug
- This Article was a great starting point.
- The accompanying source code of the article.
- Sound effect from https://mixkit.co/free-sound-effects/ (specifically mixkit-alarm-tone-996.wav).