Giter Club home page Giter Club logo

content-based-image-retrieval's Introduction

Content Based Image Retrieval

This is basic content Based Image Retrieval project

first setp preprocessing

  • split the dataset into train and test sets
  • here i used 80 : 20 as the ratio of train and test split

CBIR with color histogram

  • convert each image in HSV formate
  • divide image into 5 segments : top-left, top-right, bottom-right, bottom-left, center as ecllipse
  • histogram bins : here 8, 12, 3 bin sizes
  • for 1 segment of the image 8*12*3 features
  • for 5 segments 5*8*12*3 == 1,440 -- > this is the feature vector size for the single image

image

Training:

  • Divide the image into 5 segments
  • Finding feature vector by using bins
  • Storing the feature vectors in a bag

Testing :

  • For test Image finding feature vector by using bins
  • Measure the simmilarity of the image with the features present in our bag

colorhist

The Second section of the project that is color histogram CBIR is the idea taken from pyimagesearch

Thanks to pyimagesearch, for making color histogram CBIR blog as open source

content-based-image-retrieval's People

Contributors

bharathbandla avatar

Watchers

 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.