Slouchy uses your webcam to check if you're slouching and alert you if you are. This project is still in active development and not feature complete.
You need to install the following system-wide:
- Python 2.7
- Qt4 and PyQt4
- OpenCV 2 or 3
- OpenCV-Python
On Debian-based distros the below apt-get should work:
apt-get install python2.7 python2.7-dev libqt4-core libqt4-dev opencv-data libopencv-core2.4 libopencv-dev python-opencv
pip install -r requirements.txt
brew tap homebrew/science
brew install python qt pyqt opencv
pip install -r requirements.txt
Tweak slouchy.ini
to your liking.
Run python2 slouchy.py
Sit upright in front of your webcam.
While sitting upright, right click on the Slouchy icon in your system tray and choose setup.
Slouchy will now alert you if you're slouching
This software is released under the GNU GPL version 3 except for the haarscascade_frontalface_default.xml
and haarcascade_eye.xml
files which are released under the Intel License Agreement For Open Source Computer Vision Library
This software is not intended to diagnose, cure, or prevent diseases in any way. No warranties are made or implied for its efficacy. It's simply a little program the author wanted and decided to share.