Skip to content

fashion recommender system powered by object detection and image embedding model, with similarity search algorithm

License

Notifications You must be signed in to change notification settings

eyereece/fashion-recommender-cv

Repository files navigation

SmartStylist: A Fashion Recommender System powered by Computer Vision


Project Page Object Detection

flowchart

Technical Features

  • Object Detection Model: Leveraged the power of the YOLOv5 model trained on fashion images to detect fashion objects in images
  • Feature Extraction: Utilized a Convolutional AutoEncoder implemented with PyTorch to extract latent features from detected fashion objects
  • Similarity Search Index: Implemented FAISS library to construct an index, facilitating the search for visually similar outfits based on their distinct attributes

For more information on object detection model and feature extraction process, check out my repositories here:


Project Demo

Online Streamlit Demo:

Try the online streamlit demo.

Homepage:

preview


Gallery:

preview


Object Detection Model:

preview


Getting Started

Clone the repository:

git clone https://github.com/eyereece/fashion-recommender-cv.git

Navigate to the project directory:

cd fashion-recommender-cv

Install dependencies:

pip install -r requirements.txt

Run the streamlit app:

streamlit run home.py

Usage

  • Upload an image of an outfit (background in white works best)
  • It currently only accepts jpg and png file
  • Click "Show Recommendations" button to retrieve recommendations
  • To update results, simply click on the "Show Recommendations" button again
  • Navigate over to the sidebar, at the "gallery", to explore sample results

Dataset

The dataset used in this project is available here:

    @online{Eileen2020,
  author       = {Eileen Li, Eric Kim, Andrew Zhai, Josh Beal, Kunlong Gu},
  title        = {Bootstrapping Complete The Look at Pinterest},
  year         = {2020}
}
  

About

fashion recommender system powered by object detection and image embedding model, with similarity search algorithm

Topics

Resources

License

Stars

Watchers

Forks

Languages