Skip to content

anandkr123/Image-retrieval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image-retrieval

Image retrieval is one of the core problems which can be broken down into two sub tasks

  • Represenation or Encondings
  • Search engine

Representation

  • In the image representation, one tries to encode an image compactly into a global or local features (the term features ,embeddings or encondings are used interchangeably) which captures crucial content in the image. The encoded features are then used to build the search space or a matrix of encodings.

Image search problem

  • In search problem, a database constructed using the encoded feature(s) of index images (which are also referred as gallery or reference images) is used to find the nearest neighbors matching to the input or query image. A simple example of search: finding k-Nearest-Neighbors of a query-embedding in a reference-embeddings database.

Approach using Deep learning to learn Representation

  • Use 4 layers Convolution Autoencoders(encoders and decoders) to learn low dimensional rich hidden representation of different type of images.

  • Addition of noise in the image database to help the model learn rich features from the image by removing the noise from images.

  • Images are encoded in a hidden representation between 0’s and 1’s and stored in a matrix know as 'matrix of encondings'.

Search a query image

  • Query image is passed to the Conv model to extract it’s hidden representation,which is XORed with the repository matrix to get a score of similarity of the hidden representation with each of the image representation in the matrix

  • The top 3 images with the highest score are the closest image results for a query image

  • The top 3 scores matchable images found through XOR between the query image representation and each image hidden representation in the repository matrix to get a score of similarity.

Results

results

results_shoes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published