Skip to content

WeiLai5432/ImageSearcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Search

Overview

This is a simple image search application built using Clip and Milvus. The application allows users to search for images based on their descriptions or an image and retrieve similar images from a dataset.

Usage

  1. Clone the repository.
  2. Install the dependencies:
pip install -r requirements.txt
  1. [Just the first time] Build the vector database by your images: Put your images in ./photos or where ever you want. (you can change the path in build_database.py and app.py) Then run:
python build_database.py

This may take a while based on the number of images.

  1. Run the application:
streamlit run app.py  --server.port 8000

Then you can access the application at http://localhost:8000. The application has two main functionalities:

  1. Search by image: Upload an image and get similar images from the database.
  2. Search by description: Enter a description and get similar images from the database.

License

This project is licensed under the Apache 2.0 License.

About

Search local images by image or text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages