Skip to content

silasxue/CBIR-Search-Engine

 
 

Repository files navigation

CBIR Search Engine

Python content base image reterival search engine with small dataset for quick demo

Requirements

Setup

pip install -r requirements.txt
python sift_feature/index.py --vocabulary sift_feature/vocabulary.npy --index sift_feature/index.csv
python color_feature/index.py --index color_feature/index.csv
python manage.py syncdb

Run as script

SIFT feature

Search by SIFT feature using bag-of-words model

python sift_feature/search.py --vocabulary sift_feature/vocabulary.npy --index sift_feature/index.csv --query dataset/snoopy_image_0010.jpg

Color feature

Search by color distribution

python color_feature/search.py --index color_feature/index.csv --query dataset/snoopy_image_0010.jpg

Run in server

python manage.py runserver

You should able to access it from 127.0.0.1:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.7%
  • HTML 16.3%