Skip to content
/ CBIR Public
forked from pochih/CBIR

🏞 A content-based image retrieval (CBIR) system

Notifications You must be signed in to change notification settings

DoctorKey/CBIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Open Source Love

Intro

This repo implements a CBIR (content-based image retrieval) system

Part1: feature extraction

In this system, I implement several popular image features:

all features are modulized

Feature Fusion

Some features are not robust enough, and turn to feature fusion

Dimension Reduction

The curse of dimensionality told that vectors in high dimension will sometime lose distance property

Part2: evaluation

CBIR system retrieval images based on feature similarity

Robustness of system is evaluated by MMAP (mean MAP), the evaluation method is refer to here

  • image AP : mean of precision at each hit
  • class1 MAP = (class1.img[0].AP + class1.img[1].AP + ... + class1.img[M].AP) / M
  • MMAP = (class1.MAP + class2.MAP + ... + classN.MAP) / N

My database contains 25 classes, each class with 20 images

Implementation of evaluation can found at evaluate.py

Method color daisy edge gabor HOG vgg19 resnet152
Mean MAP (depth=10) 0.614 0.468 0.301 0.346 0.450 0.914 0.944

Part3: image retrieval

Let me show some results of the system

query1 - women dress

query

color

daisy

edge

gabor

HOG

VGG19

Resnet152

query2 - orange

query

color

daisy

edge

gabor

HOG

VGG19

Resnet152

query3 - NBA jersey

query

color

daisy

edge

gabor

HOG

VGG19

Resnet152

query4 - snack

query

color

daisy

edge

gabor

HOG

VGG19

Resnet152

Author

Po-Chih Huang / @brianhuang1019

About

🏞 A content-based image retrieval (CBIR) system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%