Skip to content
/ py-cbir Public
forked from fancyspeed/py-cbir

Demo of Content Based Image Retrieval in python

Notifications You must be signed in to change notification settings

pustar/py-cbir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Content Based Image Retrieval, implemented by Python and Tornado.

Image descriptors

  • perceptual hash, otsu hash
  • gray/rgb/yuv/hsv histograms
  • GIST
  • HoG and LSH (built by kmeans clustering)
  • SIFT and LSH (built by kmeans clustering)
  • Dense SIFT

Distance functions

  • hamming distance (L0)
  • norm0 distance (L0)
  • abs distance (L1)
  • eculidean distance (L2)

Simple re-ranking

  • blending: mix results
  • ensembling: weighted sum

Code structure

  • util/: feature descriptors, feature and lsh preparation
  • app/: http server, matching and retrieval
  • templates/: html templates
  • static/: datasets, js, css
  • conf: log.conf, and for feature data
  • logs: for log data
  • settings.py: http port, common setting
  • urls.py: url path

Run

About

Demo of Content Based Image Retrieval in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.4%
  • C 44.4%
  • Other 1.2%