A simple Image Hashing script to get the gist of the concept
Download Caltech dataset from Caltech_101
python indices.py -d ~/datasets/Caltech_101
python main.py --create --trainfile=train.txt --shelve=db.shelve
python main.py --evalfile=test.txt --shelve=db.shelve --query