Giter VIP home page Giter VIP logo

snehil-shah / multimodal-image-search-engine Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 11.2 MB

Text to Image & Reverse Image Search Engine built upon Vector Similarity Search utilizing CLIP VL-Transformer for Semantic Embeddings & Qdrant as the Vector-Store

Home Page: https://huggingface.co/spaces/Snehil-Shah/Multimodal-Image-Search-Engine

License: MIT License

Jupyter Notebook 99.71% Python 0.29%
computer-vision multimodal-transformer nlp openai-clip qdrant-vector-database vector-embeddings qdrant

multimodal-image-search-engine's Introduction

title emoji colorFrom colorTo sdk sdk_version app_file pinned license
Multimodal Image Search Engine
๐Ÿ”
yellow
yellow
gradio
4.13.0
app.py
false
mit

Multi-Modal Image Search Engine

A Semantic Search Engine that understands the Content & Context of your Queries.
Use Multi-Modal inputs like Text-Image or a Reverse Image Search to Query a Vector Database of over 15k Images. Try it Out!

โ€ข About The Project

At its core, the Search Engine is built upon the concept of Vector Similarity Search. All the Images are encoded into vector embeddings based on their semantic meaning using a Transformer Model, which are then stored in a vector space. When searched with a query, it returns the nearest neighbors to the input query which are the relevant search results.

We use the Contrastive Language-Image Pre-Training (CLIP) Model by OpenAI which is a Pre-trained Multi-Modal Vision Transformer that can semantically encode Words, Sentences & Images into a 512 Dimensional Vector. This Vector encapsulates the meaning & context of the entity into a Mathematically Measurable format.

2-D Visualization of 500 Images in a 512-D Vector Space

The Images are stored as vector embeddings in a Qdrant Collection which is a Vector Database. The Search Term is encoded and run as a query to Qdrant, which returns the Nearest Neighbors based on their Cosine-Similarity to the Search Query.

The Dataset: All images are sourced from the Open Images Dataset by Common Visual Data Foundation.

โ€ข Technologies Used

  • Python
  • Jupyter Notebooks
  • Qdrant - Vector Database
  • Sentence-Transformers - Library
  • CLIP by OpenAI - ViT Model
  • Gradio - UI
  • HuggingFace Spaces - Deployment

multimodal-image-search-engine's People

Contributors

snehil-shah avatar

Stargazers

 avatar  avatar  avatar  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.