shunsukesaito / PIFu

This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"
https://shunsukesaito.github.io/PIFu/
Other
1.76k stars 341 forks source link

creating mask #43

Closed nandu749 closed 4 years ago

nandu749 commented 4 years ago

How to create black-white mask, any repo or tutorial available

shunsukesaito commented 4 years ago

You can use any off the shelf systems such as remove.bg

alitokur commented 4 years ago

1-) upload your image here and remove the background. 2-) download the image and move it into a folder you can easily access 3-) open terminal, cd PIFu/apps 4-) run the following code python crop_img.py -i /path/of/your/removedBackground/image -o /path/of/result

nandu749 commented 4 years ago

thank you, is there any better alternative for background subtraction(offline), tried mask rcnn, but not giving good results?

shunsukesaito commented 4 years ago

This probably gives you better segmentation than naive mask RCNN. https://github.com/facebookresearch/detectron2/tree/master/projects/PointRend