Skip to content

A simple image search app that uses Streamlit and CLIP to let you search through pictures in natural language, e.g. "picture of me and my brother wearing suits as kids", "little sister and grandma", "birthday", etc..

License

Notifications You must be signed in to change notification settings

RediatBrook/image-search-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image Search Application

This is a Streamlit-based image search application that allows users to search for images based on a text query using Sentence Transformers and cosine similarity. Users can provide images by uploading a zip file, specifying a directory path, or uploading individual images.

Features

  • Upload a zip file containing images for searching.
  • Specify a directory path where images are stored.
  • Upload individual images for searching (default option).
  • Enter a text query to find relevant images.
  • Display the most relevant image and the top 10 relevant images based on cosine similarity.

Installation

  1. Clone the repository:

    git clone https://github.com/rediatbrook/image-search-app.git
    cd image-search-app
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the application:

    python -m streamlit run ui_test.py

Usage

  1. Choose one of the options to provide images: upload a zip file, specify a directory path, or upload individual images.
  2. Enter a text query in the input field.
  3. Click the "Search" button.
  4. The most relevant image and the top relevant images will be displayed based on the text query.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple image search app that uses Streamlit and CLIP to let you search through pictures in natural language, e.g. "picture of me and my brother wearing suits as kids", "little sister and grandma", "birthday", etc..

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages