facebookresearch / pifuhd

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

Input image rotating 90 degrees anti-clockwise #72

Closed durgesh17media closed 3 years ago

durgesh17media commented 3 years ago

My input image is rotating 90 degrees anti-clockwise when giving as input that's why mesh is also distorted. Kindly help with the same. @shunsukesaito lakshmi

shunsukesaito commented 3 years ago

Probably this stackoverflow is relevant.

https://stackoverflow.com/questions/10600613/ios-image-orientation-has-strange-behavior#:~:text=Any%20image%20generated%20by%20iPhone,Orientation)%20specifying%20the%20actual%20orientation.&text=In%20IOS%2C%20the%20EXIF%20info,same%20way%20it%20was%20taken.

Tanupvats commented 3 years ago

I run into the same problem but there was an issue mentioned about the image metadata try to remove it and resize your image to 1024X1024. if you still don't get the results then remove the background of the image in which the person is standing and then feed it in the model. it worked for me though.