m5823779 / fashion-recommend

This repository contains a code for find similar clothes in database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo

Introduction

System

Flow Chart

Segmentation Model

Feature Extration Model

Getting start

Download Pre-trained models

Download Pre-trained model and rename it as segmentation.pth then place it to ./app/data/model/

Installation

pip install -r ./app/models/requirements.txt
install mmfashion (https://github.com/open-mmlab/mmfashion)

./app/models/bin/recommend_clothing.sh (http server port=8080)

 - @app.route("/get_rec_product", methods=['POST'])

./docker/start_flask.sh (flask port=80)

- @app.get('/ping')
- LINE part
    * @app.route("/callback", methods=['POST'])
        - @handler.add(MessageEvent, message=(ImageMessage, VideoMessage, AudioMessage))
        - @handler.add(MessageEvent, message=TextMessage)

About

This repository contains a code for find similar clothes in database.


Languages

Language:Python 98.9%Language:Shell 0.8%Language:Dockerfile 0.3%