arnaucode 950c6b4c57 | 7 years ago | |
---|---|---|
.. | ||
.gitignore | 7 years ago | |
README.md | 7 years ago | |
detectObject.py | 7 years ago | |
detectObject.pyc | 7 years ago | |
detectObjects.py | 7 years ago | |
detectObjects.pyc | 7 years ago | |
main.py | 7 years ago |
Gets all the images from the directories 'object' and 'noobject', and puts in a dataset file. The dataset file is a dataset.data file that contains 2 columns:
First, install the libraries.
http://scikit-learn.org/stable/install.html pip install -U scikit-learn
http://scikit-image.org/download pip install -U scikit-image
https://www.scipy.org/install.html python -m pip install --upgrade pip pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
http://pillow.readthedocs.io/en/3.0.x/installation.html (sudo) pip install Pillow
https://matplotlib.org/users/installing.html python -mpip install -U pip python -mpip install -U matplotlib
may need to install python-tk: sudo apt-get install python-tk
python readDataset.py