Bag of words for image classification, a toy demo
-
Download Stanford Scene 15 dataset from http://vision.stanford.edu/resources_links.html. Each categories are represented as a subfolder
-
Shuffle and cut out into training and testing dataset.
-
Change path in experiments1.py, and run python experiments1.py
REQUIREMENT:
-
sklearn for machine learning part
-
Opencv3.0 dev for SIFT feature extraction.