/bagofwords

Bag of words for image classification, a toy demo

Primary LanguagePython

bagofwords

Bag of words for image classification, a toy demo

  1. Download Stanford Scene 15 dataset from http://vision.stanford.edu/resources_links.html. Each categories are represented as a subfolder

  2. Shuffle and cut out into training and testing dataset.

  3. Change path in experiments1.py, and run python experiments1.py

REQUIREMENT:

  1. sklearn for machine learning part

  2. Opencv3.0 dev for SIFT feature extraction.