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.
- Clone the repository.
- Install the dependencies:
pip install -r requirements.txt- [Just the first time] Build the vector database by your images:
Put your images in
./photosor where ever you want. (you can change the path inbuild_database.pyandapp.py) Then run:
python build_database.pyThis may take a while based on the number of images.
- Run the application:
streamlit run app.py --server.port 8000Then you can access the application at http://localhost:8000. The application has two main functionalities:
- Search by image: Upload an image and get similar images from the database.

- Search by description: Enter a description and get similar images from the database.

This project is licensed under the Apache 2.0 License.