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 3
- Qt5 and PyQt5
- OpenCV 2 or 3
- OpenCV-Python
On Debian-based distros the below apt-get should work:
apt-get install python3 python3-dev libqt5core* opencv-data libopencv-core2.4 libopencv-dev python-opencv
pip3 install -r requirements.txt
python macPreInstall.py
OR
brew tap homebrew/science
brew install python qt pyqt opencv
pip install -r requirements.txt
Tweak slouchy.ini
to your liking.
Run python3 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.