Giter Club home page Giter Club logo

ksdkamesh99 / reverse-image-search Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 2.0 16.28 MB

It is a replication of google image search engine for finding similar images in our database using artificial intelligence. It is a project which uses cosine distance or finding the similarity which is an amazing application of cosine similarity.

License: MIT License

Jupyter Notebook 99.71% Python 0.06% CSS 0.07% HTML 0.16%
image-search-engine deep-learning vgg16 cosine-similarity cosine-distance flask ajax jquery

reverse-image-search's Introduction

🔎 Reverse-Image-Search🔍

forthebadge forthebadgeforthebadge forthebadge

Table of Content

Demo

Overview

It is a replication of google image search engine for finding similar images in our database using artificial intelligence. It is a project which uses cosine distance or finding the similarity which is an amazing application of cosine similarity.

Motivation

When we are searching some thing in google there is a option in right of search bar i.e image search. When I noticed it I started thinking of its working and researched and started a project similar to it using deep learning.

Technical Aspect

  1. Firstly I collected images of 6 types of fruits.Dataset contains arount 1157 images.I am providing the link of the dataset here.

  2. Now I used pretrained VGG16 model and excluding the last output layer and collected the feature vectors of all the images.

  3. Then we need to take a query image and collect the feature vector similarly as said in step 2.

  4. Now I calculated the the cosine distance from query features to collected feature vector and sorted it.

  5. According to cosine similarity, lesser the distance more the similarity.

  6. Then using ajax and flask deployed it to the development server.

Installation

  1. If you like my project do 🌟🌟 my repository.

  2. Clone my repository by using following command in terminal/Command Prompt.

https://github.com/ksdkamesh99/Reverse-Image-Search.git
  1. Install the Packages:
pip install -r requirements.txt
  1. At last, push in the command:
python app.py
  1. Go to http://127.0.0.1:5000/ and enjoy the application.

To Do in future:-

  1. UI of website need to be improved.

  2. Need to add some more images in the dataset so as to improve the accuracy.

Bug / Feature Request

If you find a bug (gave undesired results), kindly open an issue here by including your search query and the expected result.

If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.

Technologies Used

License

MIT License

Copyright (c) 2020 Kota Sai Durga Kamesh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

📧Contact:-

For any kind of suggesstions/ help in code Please mail me at [email protected].

reverse-image-search's People

Contributors

ksdkamesh99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

reverse-image-search's Issues

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.