OpenCV 2.4 (I believe)
Numpy
glob
os
Matplotlib
Sklearn
scipy
mpl_toolkits
$ git clone git@github.com:periakiva/Bag-of-Words.git
$ cd Bag-of-Words
$ python predict.py
$ git clone git@github.com:periakiva/Bag-of-Words.git
$ cd Bag-of-Words
$ mkdir train_my_own
$ cd train_my_own
At this point make a folder for each class and insert images + change path in code to your new training folder /train_my_own/
$ python feat.py
$ python features.py
$ python predict.py