StyleSeek: Visual Fashion Search Engine
StyleSeek is a content-based image retrieval system that helps users find visually similar fashion items by uploading an image. It uses OpenAI's CLIP model to extract semantic features from images and FAISS for efficient similarity search.
- Upload an image of any clothing item.
- Get visually similar fashion products from the database.
- Uses CLIP (ViT-B/32) for high-quality image embeddings.
- Fast nearest neighbor search using FAISS.
- Lightweight Streamlit web app interface.
-
Image Upload:
User uploads a fashion image (e.g., a shirt, dress, etc.). -
Feature Extraction:
The image is encoded using the CLIP model to extract a feature vector. -
Similarity Search:
The feature vector is compared to pre-indexed fashion items using FAISS to find the most similar items. -
Results Displayed:
Similar images are shown in the interface.
Component | Tool/Library |
---|---|
Embedding | OpenAI CLIP (ViT-B/32) |
Similarity | Facebook AI Similarity Search (FAISS) |
UI | Streamlit |
Language | Python |
- git clone https://github.com/Sarthak1311/StyleSeek.git
- cd StyleSeek
- pip install -r requirements.txt
Usage
- Run the Streamlit app: streamlit run app.py
- Upload an image of a fashion product.
- View similar fashion items instantly