{"id":15704471,"url":"https://github.com/ksdkamesh99/reverse-image-search","last_synced_at":"2025-07-06T21:03:08.943Z","repository":{"id":49800972,"uuid":"275640634","full_name":"ksdkamesh99/Reverse-Image-Search","owner":"ksdkamesh99","description":"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.","archived":false,"fork":false,"pushed_at":"2020-06-30T03:25:30.000Z","size":16674,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T13:37:13.279Z","etag":null,"topics":["ajax","cosine-distance","cosine-similarity","deep-learning","flask","image-search-engine","jquery","vgg16"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksdkamesh99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-28T18:03:39.000Z","updated_at":"2025-01-12T14:45:41.000Z","dependencies_parsed_at":"2022-09-10T12:53:00.306Z","dependency_job_id":null,"html_url":"https://github.com/ksdkamesh99/Reverse-Image-Search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksdkamesh99%2FReverse-Image-Search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksdkamesh99%2FReverse-Image-Search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksdkamesh99%2FReverse-Image-Search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksdkamesh99%2FReverse-Image-Search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksdkamesh99","download_url":"https://codeload.github.com/ksdkamesh99/Reverse-Image-Search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253764371,"owners_count":21960569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajax","cosine-distance","cosine-similarity","deep-learning","flask","image-search-engine","jquery","vgg16"],"created_at":"2024-10-03T20:12:02.775Z","updated_at":"2025-05-12T15:25:02.266Z","avatar_url":"https://github.com/ksdkamesh99.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔎 Reverse-Image-Search🔍\n\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com)[![forthebadge](https://forthebadge.com/images/badges/its-not-a-lie-if-you-believe-it.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/built-by-developers.svg)](https://forthebadge.com)\n## Table of Content\n  * [Demo](#demo)\n  * [Overview](#overview)\n  * [Motivation](#motivation)\n  * [Technical Aspect](#technical-aspect)\n  * [Installation](#installation)\n  * [To Do](#to-do-in-future-)\n  * [Bug / Feature Request](#bug---feature-request)\n  * [Technologies Used](#technologies-used)\n  * [License](#license)\n  * [Contact](#contact-)\n\n\n## Demo\n![](demos.gif)\n\n## Overview\n\nIt 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.\n\n## Motivation\n\nWhen 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.\n\n## Technical Aspect\n\n1. Firstly I collected images of 6 types of fruits.Dataset contains arount 1157 images.I am providing the link of the dataset [here](https://drive.google.com/drive/folders/1RFnObzTjFsrGVOzpw6q_WYQQJoehglA2?usp=sharing).\n\n2. Now I used pretrained VGG16 model and excluding the last output layer and collected the feature vectors of all the images.\n\n3. Then we need to take a query image and collect the feature vector similarly as said in step 2.\n\n4. Now I calculated the the cosine distance from query features to collected feature vector and sorted it.\n\n5. According to cosine similarity, lesser the distance more the similarity.\n\n6. Then using ajax and flask deployed it to the development server.\n\n\n## Installation\n1. If you like my project do 🌟🌟 my repository.\n\n2. Clone my repository by using following command in terminal/Command Prompt.\n\n```sh\nhttps://github.com/ksdkamesh99/Reverse-Image-Search.git\n```\n\n3. Install the Packages: \n```sh\npip install -r requirements.txt\n```\n\n4. At last, push in the command:\n```sh\npython app.py\n```\n\n5. Go to ` http://127.0.0.1:5000/` and enjoy the application.\n\n## To Do in future:-\n1. UI of website need to be improved.\n\n2. Need to add some more images in the dataset so as to improve the accuracy.\n\n## Bug / Feature Request\nIf you find a bug (gave undesired results), kindly open an issue [here](https://github.com/ksdkamesh99/Reverse-Image-Search/issues/new/) by including your search query and the expected result.\n\nIf you'd like to request a new function, feel free to do so by opening an issue [here](https://github.com/ksdkamesh99/Reverse-Image-Search/issues/new/). Please include sample queries and their corresponding results.\n\n## Technologies Used\n\n\n[\u003cimg target=\"_blank\" src=\"https://keras.io/img/logo-small.png\" width=200\u003e](https://keras.io/api/applications/) [\u003cimg target=\"_blank\" src=\"https://www.fullstackpython.com/img/logos/scipy.png\" width=170\u003e](https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cosine.html)\n\n[\u003cimg target=\"_blank\" src=\"https://flask.palletsprojects.com/en/1.1.x/_images/flask-logo.png\" width=200\u003e](https://flask.palletsprojects.com/en/1.1.x/) \n\n\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Kota Sai Durga Kamesh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n## 📧Contact:-\nFor any kind of suggesstions/ help in code Please mail me at ksdkamesh99@gmail.com.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksdkamesh99%2Freverse-image-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksdkamesh99%2Freverse-image-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksdkamesh99%2Freverse-image-search/lists"}