@@ -34,3 +34,71 @@ The final demo can be seen [here](https://www.youtube.com/watch?v=IJV11OGTNT8) a
34
34
- Preparing Data for Training
35
35
- Training the Network
36
36
- Plotting Model History
37
+
38
+ ## Installation Instructions
39
+ ### Windows:
40
+ * Install Anaconda (https://www.anaconda.com/download/ ) or Miniconda (https://conda.io/miniconda.html ) to save hard drive space
41
+ * Start an Anaconda Prompt. (Search Anaconda in the start menu.)
42
+ #### Option 1: Exact source package installs
43
+ * Using the spec-file.txt provided install identical packages and run
44
+
45
+ $ conda create --name [ENV_NAME] --file spec-file.txt # create new env with same packages
46
+ or
47
+
48
+ $ conda install --name [ENV_NAME] --file spec-file.txt # install packages into an existing env
49
+ * Then activate the environment
50
+
51
+ $ activate cv
52
+ * Install OpenCV3 (https://opencv.org/ )
53
+ - Download whl file https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
54
+ - Download “opencv_python 3.4.0+contrib cp35 cp35m win32.whl” or “opencv_python 3.4.0+contrib cp35 cp35m win_amd64.whl” for 32bit and 64bit respectively
55
+ - Install package
56
+
57
+ $ pip install [file path]
58
+ #### Option 2: Package installs
59
+ * Using the environment.yml file provided, run
60
+
61
+ $ conda create -n cv --file environment.yml
62
+ * Activate the environment
63
+
64
+ $ activate cv
65
+ * Install OpenCV3 (https://opencv.org/ )
66
+ - Download whl file https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
67
+ - Download “opencv_python 3.4.0+contrib cp35 cp35m win32.whl” or “opencv_python 3.4.0+contrib cp35 cp35m win_amd64.whl” for 32bit and 64bit respectively
68
+ - Install the package
69
+
70
+ $ pip install [file path]
71
+ #### Option 3: Manually installing packages
72
+ * Create and activate a Python 3.5 conda environment called cv.
73
+
74
+ $ conda create -n cv python=3.5
75
+
76
+ $ activate cv
77
+ * Install Numpy (http://www.numpy.org/ )
78
+
79
+ $ conda install numpy
80
+ * Install Matplotlib (https://matplotlib.org/ )
81
+
82
+ $ conda install matplotlib
83
+ * Install Keras (https://keras.io/ )
84
+
85
+ $ conda install keras
86
+ - This should also install tensorflow
87
+ * Install h5py (http://www.h5py.org/ )
88
+
89
+ $ conda install h5py
90
+ * Install OpenCV3 (https://opencv.org/ )
91
+ - Download whl file https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
92
+ - Download “opencv_python 3.4.0+contrib cp35 cp35m win32.whl” or “opencv_python 3.4.0+contrib cp35 cp35m win_amd64.whl” for 32bit and 64bit respectively
93
+ - Install package
94
+
95
+ $ pip install [file path]
96
+ * Install Jupyter Notebook (http://jupyter.org/ )
97
+
98
+ $ conda install jupyter notebook
99
+ * Install IPython (https://ipython.org/ )
100
+
101
+ $ conda install ipython
102
+ * (Optional) Install pyautogui – If you want to run the mouse control demo, you will need this package (https://pyautogui.readthedocs.io/en/latest/ )
103
+
104
+ $ pip install pyautogui
0 commit comments