pyskell / slouchy

Slouchy uses your webcam to check if you're slouching and alert you if you are.
GNU General Public License v3.0
797 stars 47 forks source link

Mac/Windows Version #8

Open DuzAwe opened 8 years ago

DuzAwe commented 8 years ago

Mac/Windows Version or at least an install guide for those platforms

pyskell commented 8 years ago

Mac/Windows packages are planned.

As it stands though it's perfectly runnable on Mac and Windows by following the same install process.

halbtuerke commented 8 years ago

I have installed all dependencies via Homebrew and everything works out of the box. For OpenCV you need the science tap:

brew tap homebrew/science
brew install opencv
pyskell commented 8 years ago

Do you have the entire set of commands you used to install on Mac?

I can add those to the README. On Oct 14, 2015 11:41 AM, "Patrick" notifications@github.com wrote:

I have installed all dependencies via Homebrew and everything works out of the box. For OpenCV you need the science tap:

brew tap homebrew/science brew install opencv

— Reply to this email directly or view it on GitHub https://github.com/pyskell/slouchy/issues/8#issuecomment-148089800.

halbtuerke commented 8 years ago

This will install all dependencies:

brew tap homebrew/science
brew install python qt pyqt opencv
pip install -r requirements.txt
pyskell commented 8 years ago

Thanks! Added to the README.

DuzAwe commented 8 years ago

Just to run on the back of this. Following homebrew ect.

My terminal spits this out

Traceback (most recent call last): File "/Users/conorhughes/Downloads/slouchy-master/slouchy.py", line 8, in from config import setup File "/Users/conorhughes/Downloads/slouchy-master/config.py", line 1, in from configobj import ConfigObj ImportError: No module named configobj

pyskell commented 8 years ago

You need to pip install -r requirements.txt On Oct 15, 2015 4:48 AM, "DuzAwe" notifications@github.com wrote:

Just to run on the back of this. Following homebrew ect.

My terminal spits this out

Traceback (most recent call last): File "/Users/conorhughes/Downloads/slouchy-master/slouchy.py", line 8, in from config import setup File "/Users/conorhughes/Downloads/slouchy-master/config.py", line 1, in from configobj import ConfigObj ImportError: No module named configobj

— Reply to this email directly or view it on GitHub https://github.com/pyskell/slouchy/issues/8#issuecomment-148321184.

adrianhust commented 8 years ago

File "/Users/git/slouchy/main.py", line 3, in import cv2 ImportError: dlopen(/usr/local/lib/python2.7/site-packages/cv2.so, 2): Library not loaded: /usr/local/lib/libpng16.16.dylib Referenced from: /usr/local/Cellar/opencv/2.4.12/lib/libopencv_highgui.2.4.dylib Reason: Incompatible library version: libopencv_highgui.2.4.dylib requires version 35.0.0 or later, but libpng16.16.dylib provides version 34.0.0

pyskell commented 8 years ago

@adrianhust Please see issue #11.

h4r100 commented 7 years ago

For Mac: https://github.com/Coolforlife/slouchy/blob/master/macPreInstall.py Imports the same packages as the ReadMefile

ted-piotrowski commented 7 years ago

If installation is complicated, https://slouchcam.com is a web based slouching app that works in the latest Chrome, Firefox and Safari Developer Preview 11.0. No installation required. Cheers!

pyskell commented 7 years ago

At first glance I was kind of annoyed that someone was using my project's bug tracker to advertise. But I tried it out and it actually works quite well. So best of luck with slouchcam @ted-piotrowski