Skip to content

Lizoug/Outfit-Recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outfit Recommendation System

License: MIT .github/workflows/my first ci

image

Introduction

This project aims to develop an outfit recommendation system using deep learning techniques. The system will take an image from the user as input and suggest a suitable outfit for them. The model will learn to recognize patterns and features in the images, allowing it to make accurate recommendations.

Data

The model will be trained on a dataset of images.

The dataset can be downloaded from Kaggle:
https://www.kaggle.com/datasets/paramaggarwal/fashion-product-images-dataset

Or the smaller dataset:
https://www.kaggle.com/datasets/paramaggarwal/fashion-product-images-small

Model

The model will be implemented using machine learning and deep learning techniques such as convolutional neural networks (CNNs). The CNNs will be used to extract features from the images and the final layers will be trained for the task of outfit recommendation.

Usage

The system can be used by using this system, users will be able to upload a photo of a clothing and receive outfit suggestions.

Dependencies

  • Python 3.x
  • TensorFlow 2.x or PyTorch
  • OpenCV
  • Numpy
  • Pandas
  • Glob

Installation

To install the necessary dependencies, run the following command:
pip install -r requirements.txt

How to run the app locally

First be sure to have your image in .jpg format ready.
Convert it online with the following link :
https://convertio.co/jpeg-jpg/


Requirements

Before running the code, please make sure you have fulfilled the requirements.

  1. Anaconda installed and Anaconda prompt ready

You can download Anaconda here :
https://www.anaconda.com/

  1. Additional Python packages

To do so, run the following code in Anaconda prompt:

pip install streamlit webcolors

(Please be informed that this does take awhile to complete)


Manual

Please follow these step by step otherwise it wont work the way its intended to.

  1. Create a dummy folder on your desktop

  2. Click the folder and left click to git bash into the folder
    "Git Bash here"

  3. Clone this repository by running this code:
    git clone https://github.com/Lizoug/Outfit-Recommender.git

  4. You can now close the bash terminal and open Anaconda prompt

  5. Enter the frontend directory by running this code :
    cd Desktop/dummy_folder_name/Outfit-Recommender
    (Remember to replace dummy_folder_name with your actual dummy folder name)

  6. If you haven't already, install requirements with the following code :
    pip install -r requirements.txt
    (This will take awhile and you may see some errors but it should still work fine)

  7. Enter the code directory with the following code :
    cd code

  8. Run the code :
    streamlit run main.py
    (The website should be launched from your browser with the given IP Address)

Note

Please make sure you have a dataset before running the training and evaluation command.

Contribution

Feel free to open a pull request or an issue if you have any suggestions for improvements.

Licence

This project is licensed under the terms of the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages