facebookresearch / pifuhd

High-Resolution 3D Human Digitization from A Single Image.
Other
9.49k stars 1.44k forks source link

Format of the “_rect.txt” file? #114

Open xDEADC0DE opened 3 years ago

xDEADC0DE commented 3 years ago

The documentation says that the “colab demo provides more light-weight cropping rectange estimation without requiring openpose.”

I suppose this is the get_rect(…) snippet, but I can’t get it to work on my machine.

What is the required format of the “_rect.txt” files?

Ranqing commented 2 years ago

the format is one line including: x y w h, which is crop_point.x, crop_point.y, crop_box.w, crop_h.

diplomatist commented 1 year ago

image --use_rect will generate bad result