Code Monkey home page Code Monkey logo

content-based-image-retrieval's Introduction

Content based image retrieval

Content-based image retrieval (CBIR) is the application of computer vision techniques to the image retrieval problem, that is, the problem of searching for digital images in large databases.

Content-base means that the search analyzes the contents of the image rather than the metadata such as keywords, tags, or descriptions associated with the image.

CBIR

It is carried out in three steps:

  1. extraction of features from an image database to form a feature database,
  2. extraction of the features of the input image,
  3. find the most similar features in the database,
  4. return the image associated with the found features

Purpose

I would like to know which model and distance similarity is the most suitable for finding similar faces. For that, I try:

Similarity measurement

  • Cosine similarity
  • Manhattan distance
  • Euclidean distance

features extraction

The objective is to find the right combination (extraction algorithm & similarity measure) that allows to have relevant answers.

Part 1: Dataset

In my exploration, I used the following datasets:

Part 2: Evaluation

CBIR system retrieves images based on feature similarity. To evaluate my models, I used:

  • Mean of Mean Average Precision (MMAP) for robustness of system
  • Mean Reciprocal Rank (MRR) for the relevance of the first element
  • average time per query

the evaluation formulas is refer to here

Part 3: Results (MAP)

Cosinus Manhattan Euclidean
ORB 0.04 0.19 0.18
SURF 0.03 0.22 0.17
AKAZE 0.04 0.20 0.20
VGG16 0.00 0.71 0.71
VGG19 0.00 0.71 0.71
MobileNet 0.00 0.71 0.72
Autoencoder 0.03 0.52 0.52

Demo available: https://sch-cbir-benchmark.herokuapp.com/

content-based-image-retrieval's People

Contributors

schalappe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.