Home
Softono

Clip Image Search

Open source MIT Python
49
Stars
7
Forks
0
Issues
2
Watchers
2 years
Last Commit

 About Clip Image Search

This code implements a versatile image search engine leveraging the CLIP model and FAISS, capable of processing both text-to-image and image-to-image queries.

Platforms

Web Self-hosted

Languages

Python

Links

Need Help Installing Clip Image Search?

We provide expert installation service for this software. Our team will install, configure, and secure Clip Image Search on your server. plans start at just $30.

Clip Image Search

View on GitHub

Introduction

This code implements a versatile image search engine leveraging the CLIP model and FAISS, capable of processing both text-to-image and image-to-image queries.

Image to image

img2img

Text to image

txt2img

Install Environment

pip install -r requirements.txt

Preprocess

python clip_image_search/extract_embeddings.py --img_dir your_dataset_dir --save_path results/embeddings.pkl

python clip_image_search/build_index.py --embeddings_path results/embeddings.pkl --save_path results/index.faiss

Demo

streamlit run app.py

Star History

Star History Chart