Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyskell/slouchy
Slouchy uses your webcam to check if you're slouching and alert you if you are.
https://github.com/pyskell/slouchy
Last synced: 17 days ago
JSON representation
Slouchy uses your webcam to check if you're slouching and alert you if you are.
- Host: GitHub
- URL: https://github.com/pyskell/slouchy
- Owner: pyskell
- License: gpl-3.0
- Created: 2015-10-05T18:58:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T19:52:06.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T22:51:09.175Z (3 months ago)
- Language: Python
- Homepage:
- Size: 4.58 MB
- Stars: 800
- Watchers: 22
- Forks: 47
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Code Health](https://landscape.io/github/pyskell/slouchy/master/landscape.svg?style=flat)](https://landscape.io/github/pyskell/slouchy/master)
# slouchy
Slouchy uses your webcam to check if you're slouching and alert you if you are.# Requirements
You need to install the following system-wide:* Python 2.7
* [Qt4](http://doc.qt.io/qt-4.8/installation.html) and [PyQt4](http://pyqt.sourceforge.net/Docs/PyQt4/installation.html)
* [OpenCV 2 or 3](http://docs.opencv.org/doc/tutorials/introduction/table_of_content_introduction/table_of_content_introduction.html)
* [OpenCV-Python](https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_setup/py_table_of_contents_setup/py_table_of_contents_setup.html#py-table-of-content-setup)## Debian Dependencies
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`
`pip2 install -r requirements.txt`
## Mac Dependencies
`python macPreInstall.py`
**OR**
`brew tap homebrew/science`
`brew install python qt pyqt opencv`
`pip install -r requirements.txt`
# Using
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
# License
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# Disclaimer
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.