walsvid / Pixel2MeshPlusPlus

Pixel2Mesh++: Multi-View 3D Mesh Generation via Deformation. In ICCV2019.
https://arxiv.org/abs/1908.01491
BSD 3-Clause "New" or "Revised" License
356 stars 56 forks source link

Run on single image #24

Open gsrujana opened 2 years ago

gsrujana commented 2 years ago

Hi, does this work for single image. How to run on single RGB with camera parameters? Thanks

topinfrassi01 commented 2 years ago

Right now, the code is written so that it uses 3 images. You could "hack" it and pass 3 times the same image, it would work as all the statistics features would be the same as if you used one image. For the camera parameters, you'll have to figure out the parameters yourself depending on your context. In order to see if it works, I'd recommend writting a test where you project your 3D mesh on the images, if the projection is good, the camera parameters are good.