Build Fashion Recommendation System Using Python

share link

by kandikits dot icon Updated: Aug 22, 2023

technology logo
technology logo

1-Click Kit 1-Click Kit  

Recommendation systems suggest products to consumers by analyzing many patterns involving user buying behavior, history, and demographic metadata. 


Fashion Recommendation involves providing recommendations (recommending similar products) for any searched/viewed item in the fashion domain.


This kit illustrates the concept of Fashion recommendation in two different use cases.

  • Recommendation of products based on text search (product name)
  • Recommendation of products based on Image search (product Image)

Deployment Information

The instructions for running a Fashion Recommendation Service created using this kit are added in this section. The entire solution is available as a package to download from the source code repository.


For Windows OS,

  1. Download, extract and double-click the kit installer file to install the kit. Note: Do ensure to extract the zip file before running it. The installation may take from 10 to 20 minutes based on network bandwidth.
  2. When you're prompted during the installation of the kit, press Y to launch the app automatically and execute cells in the notebook by selecting Cell --> Run All from Menu bar
  3. To run the app manually, press N when you're prompted and locate the folder 'fashion-recommendation' in the "C://kandikits/fashion-recommendation" location
  4. Navigate into the directory 'fashion-recommendation'
  5. Open command prompt from this directory and run the 'run.bat' file. This would activate the virtual environment and open the jupyter notebook homepage automatically.
  6. Select the notebook 'Fashion Recommendation Service.ipynb' to open the Flask service implementation of Fashion recommendation.


For other Operating System,

  1. Download python
  2. download the repository
  3. Extract the zip file and navigate to the directory 'fashion-recommendation'
  4. Run the following commands to install Python
tar -xf python*.tar.gz
cd python3.*
./configure
sudo make install


  • Open the terminal in the extracted directory 'fashion-recommendation'
  • Create and activate a virtual environment by these commands:
python3.9 -m venv example
source example/bin/activate


  • Install dependencies by executing the command
pip install -r requirements.txt
  • Run the command ‘jupyter notebook’ and select the notebook 'Fashion Recommendation Service.ipynb' to open the Flask service implementation of Fashion recommendation.


Click on the button below to download the solution and follow the deployment instructions to begin set-up. This 1-click kit has all the required dependencies and resources you may need to build your Fashion Recommendation App.

Libraries used in this solution

Development Environment


VSCode and Jupyter Notebook are used for development and debugging. Jupyter Notebook is a web based interactive environment often used for experiments, whereas VSCode is used to get a typical experience of IDE for developers.


Jupyter Notebook is used for our development.

notebookby jupyter

Jupyter Notebook doticonstar image 10204 doticonVersion:v7.0.0b4doticon
License: Permissive (BSD-3-Clause)

Jupyter Interactive Notebook

Support
    Quality
      Security
        License
          Reuse

            notebookby jupyter

            Jupyter Notebook doticon star image 10204 doticonVersion:v7.0.0b4doticon License: Permissive (BSD-3-Clause)

            Jupyter Interactive Notebook
            Support
              Quality
                Security
                  License
                    Reuse

                      vscodeby microsoft

                      TypeScript doticonstar image 147328 doticonVersion:1.79.2doticon
                      License: Permissive (MIT)

                      Visual Studio Code

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                vscodeby microsoft

                                TypeScript doticon star image 147328 doticonVersion:1.79.2doticon License: Permissive (MIT)

                                Visual Studio Code
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          Exploratory Data Analysis


                                          These libraries are used for extensive analysis and exploration of data and to deal with arrays. They are also used for performing scientific computation and data manipulation.

                                          numpyby numpy

                                          Python doticonstar image 23755 doticonVersion:v1.25.0rc1doticon
                                          License: Permissive (BSD-3-Clause)

                                          The fundamental package for scientific computing with Python.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    numpyby numpy

                                                    Python doticon star image 23755 doticonVersion:v1.25.0rc1doticon License: Permissive (BSD-3-Clause)

                                                    The fundamental package for scientific computing with Python.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              Machine Learning


                                                              Machine learning libraries and frameworks here are helpful in providing state-of-the-art solutions using Machine learning.

                                                              tensorflowby tensorflow

                                                              C++ doticonstar image 175562 doticonVersion:v2.13.0-rc1doticon
                                                              License: Permissive (Apache-2.0)

                                                              An Open Source Machine Learning Framework for Everyone

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        tensorflowby tensorflow

                                                                        C++ doticon star image 175562 doticonVersion:v2.13.0-rc1doticon License: Permissive (Apache-2.0)

                                                                        An Open Source Machine Learning Framework for Everyone
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  pytorchby pytorch

                                                                                  Python doticonstar image 67874 doticonVersion:v2.0.1doticon
                                                                                  License: Others (Non-SPDX)

                                                                                  Tensors and Dynamic neural networks in Python with strong GPU acceleration

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            pytorchby pytorch

                                                                                            Python doticon star image 67874 doticonVersion:v2.0.1doticon License: Others (Non-SPDX)

                                                                                            Tensors and Dynamic neural networks in Python with strong GPU acceleration
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      scikit-learnby scikit-learn

                                                                                                      Python doticonstar image 54584 doticonVersion:1.2.2doticon
                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                      scikit-learn: machine learning in Python

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                scikit-learnby scikit-learn

                                                                                                                Python doticon star image 54584 doticonVersion:1.2.2doticon License: Permissive (BSD-3-Clause)

                                                                                                                scikit-learn: machine learning in Python
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          Data Visualization


                                                                                                                          The patterns and relationships are identified by representing data visually and below libraries are used for generating visual plots of the data.

                                                                                                                          matplotlibby matplotlib

                                                                                                                          Python doticonstar image 17559 doticonVersion:v3.7.1doticon
                                                                                                                          no licences License: No License (null)

                                                                                                                          matplotlib: plotting with Python

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    matplotlibby matplotlib

                                                                                                                                    Python doticon star image 17559 doticonVersion:v3.7.1doticonno licences License: No License

                                                                                                                                    matplotlib: plotting with Python
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              opencv-pythonby opencv

                                                                                                                                              Shell doticonstar image 3491 doticonVersion:72doticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        opencv-pythonby opencv

                                                                                                                                                        Shell doticon star image 3491 doticonVersion:72doticon License: Permissive (MIT)

                                                                                                                                                        Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  API Integration

                                                                                                                                                                  flaskby pallets

                                                                                                                                                                  Python doticonstar image 63300 doticonVersion:2.2.5doticon
                                                                                                                                                                  License: Permissive (BSD-3-Clause)

                                                                                                                                                                  The Python micro framework for building web applications.

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            flaskby pallets

                                                                                                                                                                            Python doticon star image 63300 doticonVersion:2.2.5doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                            The Python micro framework for building web applications.
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      Kit Solution Source

                                                                                                                                                                                      fashion-recommendationby kandi1clickkits

                                                                                                                                                                                      Jupyter Notebook doticonstar image 0 doticonVersion:v1.0.0doticon
                                                                                                                                                                                      License: Permissive (Apache-2.0)

                                                                                                                                                                                      Fashion recommendation is providing product recommendations in the Fashion domain. This repository illustrates the process of Fashion recommendations based on Input Product Text details and Product Image

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                fashion-recommendationby kandi1clickkits

                                                                                                                                                                                                Jupyter Notebook doticon star image 0 doticonVersion:v1.0.0doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                Fashion recommendation is providing product recommendations in the Fashion domain. This repository illustrates the process of Fashion recommendations based on Input Product Text details and Product Image
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          Support


                                                                                                                                                                                                          For any support, you can reach us at OpenWeaver Community Support