forked from phrack/ShootOFF-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
44 lines (34 loc) · 1.14 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Dependencies
-----------------------
OpenCV
PIL
pyttsx (depends on setuptools)
Windows
-----------------------
1. Install Python 2.7
2. Add c:\Python27 to path
3. Install numpy-MKL-1.7.1.win-amd64-py2.7.exe
4. Install opencv-python-2.4.6.win-amd64-py2.7.exe
5. Install Pillow-2.2.1.win-amd64-py2.7.exe
6. Install pywin32-218.4.win-amd64-py2.7.exe
7. Install setuptools-1.1.6.win-amd64-py2.7.exe
8. Install pyttsx - https://pypi.python.org/pypi/pyttsx - Download pyttsx-1.1.tar.gz, extract, run "python setup.py install" in dir
Aside from pyttsx, you can download dependencies here: http://www.lfd.uci.edu/~gohlke/pythonlibs
Ubuntu
-----------------------
1. sudo apt-get install python-imaging python-imaging-tk python-opencv python-setuptools
2. git clone https://github.com/parente/pyttsx
3. cd pyttsx
4. sudo python setup.py install
5. ./shootoff.py
Mac
-----------------------
1. brew tap homebrew/science
2. sudo brew tap homebrew/science
3. brew install opencv
4. export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
5. sudo easy_install pip
6. pip install numpy
7. sudo pip install PIL
8. sudo pip install pyttsx
9. python shootoff.py