You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
arnaucode 950c6b4c57 pipeline model chooser working, server predictor working 7 years ago
..
.gitignore pipeline model chooser working, server predictor working 7 years ago
README.md pipeline model chooser working, server predictor working 7 years ago
detectObject.py pipeline model chooser working, server predictor working 7 years ago
detectObject.pyc pipeline model chooser working, server predictor working 7 years ago
detectObjects.py pipeline model chooser working, server predictor working 7 years ago
detectObjects.pyc pipeline model chooser working, server predictor working 7 years ago
main.py pipeline model chooser working, server predictor working 7 years ago

README.md

imagesToDataset

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:

  • images arrays of pixels
  • 0 or 1, depending if is from the 'noobject' or 'object' directory

First, install the libraries.

install scikit-learn

http://scikit-learn.org/stable/install.html pip install -U scikit-learn

install scikit-image

http://scikit-image.org/download pip install -U scikit-image

install numpy

https://www.scipy.org/install.html python -m pip install --upgrade pip pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose

install Pillow

http://pillow.readthedocs.io/en/3.0.x/installation.html (sudo) pip install Pillow

install matplotlib

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

to run

python readDataset.py