Skip to content

khushgrover/smart-match

Repository files navigation

Python CUDA CUDNN TENSORFLOW

Myntra HackerRamp Submission Phase 2

Team: TheChibiTeam

Members: Piyush Aggarwal, Kartikey Tiwari, Khushnuma Grover

University: Thapar Institute of Engineering and Technology

The demo site has been published to : https://khushgrover.github.io/smart-match/

Phase 2 Explaination to approach taken:

We show how a MGN network can be fine-tuned on new images. The network will produce 3d-garments of person and the 3d-body parameters. These 3d-body parameters can be layered on top of SMPL body.

We show how these 3d-garments can be used to mix and match clothing on a model. This can be rendered a website in real-time using three.js. For demo purposes we have used https://p3d.in.

VIDEO EXPLAINATION

https://drive.google.com/file/d/1QRDrG15-JAS8AP1cJY5Hg9Mgm1-XceyG/view

PPT

https://drive.google.com/file/d/1WFXqZGwt4ARoZs8HLbwpgdle7-PyiVSE/view

DEMO-1 (ML MODEL)

https://drive.google.com/file/d/1eqPVxptgWA76aZt2NUSrmHBpPWXXzEDi/view

DEMO-2 (WEB SITE)

https://drive.google.com/file/d/1juuHeB4G0OUVO6JLMe8celSGWUG561fk/view

Colab notebooks

The local changes have also been shown on Colab Notebooks: (Colab doesn't have a display so we could not display out the resulta and have used SSH and ngrok int local machine for visualization.)

MGN: https://github.com/khushgrover/smart-match/blob/main/MultiGarmentNetwork.ipynb

PGN Segmentation: https://github.com/khushgrover/smart-match/blob/main/pgn_segmentation.ipynb

Training U-NET: https://github.com/khushgrover/smart-match/blob/main/Train_UNET.ipynb

Extracting dresses using U-NET: https://github.com/khushgrover/smart-match/blob/main/Train_UNET.ipynb

Extracting dresses using GrabCut: https://github.com/khushgrover/smart-match/blob/main/OpenCv_GrabCut.ipynb

Extracting Keypoints of body OpenPose: https://github.com/khushgrover/smart-match/blob/main/Openpose1_6_0.ipynb

References

MultiGarmentNetwork

https://github.com/bharat-b7/MultiGarmentNetwork.git

This repository is the official implementation for the paper "Multi-Garment Net: Learning to Dress 3D People from Images, ICCV'19" in Python 2.7 and Tensorflow 1.13.

Link to paper: https://arxiv.org/abs/1908.06903

In this, the trained model is provided and we plan to use the fine tuning of the network, which can be done using anywhere between 1-8 images of a person.

Pre-requisites for running MGN

Preprocessing for Inputs

SMPL: A Skinned Multi-Person Linear Model

SMPL is a function M that maps pose θ and shape β to a mesh of V = 6890 vertices.

Downloaded the neutral SMPL model from http://smplify.is.tue.mpg.de/

About

Myntra HackerRamp Submission Phase 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published