Git Product home page Git Product logo

clothing-matching's Introduction

Clothing Matching & Alignment (2D)

A repository of tools implemented at SeoulTech Multimedia Computing Laboratory (EMCOM Lab, SeoulTech) for 2D clothing matching and alignment for 3D clothing reconstruction and virtual try-on.

1) Clothing texture alignment (Boundary extrapolation and matching)

1.1) Texture alignment using TPS transformation

1.2) Texture alignment using dilation operation

Details: https://github.com/minar09/Clothing-Matching/blob/main/1.Clothing-Texture-Alignment/README.md

2) Interactive clothing to body alignment (Manual 2D matching)

Iteratively matching/aligning a clothing image to a standard human body by positioning the selected vertices manually.

Details: https://github.com/minar09/Clothing-Matching/blob/main/2.Interactive-Clothing-to-Body-Alignment/README.md

3) Clothing masking (Generating binary segmentation/silhouette)

3.1) Masking with GrabCut using priors

3.2) Masking with binary thresholding

Details: https://github.com/minar09/Clothing-Matching/blob/main/3.Clothing-Masking/README.md

clothing-matching's People

Contributors

minar09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

clothing-matching's Issues

Cloth-masking error

I am using the cloth masking repo to generate shirt segmentation. I am trying to run it on the viton shirts folder. It runs fine on most of the images but on some images the algorithm throws an error while running 1.clothmasking_grabcut.

Traceback (most recent call last):
File "1.clothmasking_GrabCut.py", line 124, in
main()
File "1.clothmasking_GrabCut.py", line 120, in main
cloth_masking_with_grabcut(image_path, res_path, viz=False)
File "1.clothmasking_GrabCut.py", line 84, in cloth_masking_with_grabcut
gc_mask, bgdModel, fgdModel = cv2.grabCut(img2, gc_mask, None, bgdModel, fgdModel, 10, cv2.GC_INIT_WITH_MASK)
cv2.error: OpenCV(3.4.14) /tmp/pip-req-build-jlfc4ffm/opencv/modules/imgproc/src/grabcut.cpp:385: error: (-215:Assertion failed) !bgdSamples.empty() && !fgdSamples.empty() in function 'initGMMs'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.