It is the code for a CBIR system with CNN model. We provide a demo of a web application based on Flask, which realizes the online CBIR system for receiving the uploaded images and showing the most similar top 15 pictures.
You can install all python requirements with:
pip install -r requirements.txt
Caltech-256 (http://www.vision.caltech.edu/Image_Datasets/Caltech256/)
python index.py
python query.py
python compute_mAP.py
python server.py