akanazawa / cmr

Project repo for Learning Category-Specific Mesh Reconstruction from Image Collections
MIT License
474 stars 84 forks source link

360° view #17

Closed felixboevr closed 4 years ago

felixboevr commented 4 years ago

Could you provide any code to get a 360° view of the model like you demoed in your video at https://youtu.be/cYHQKtBLI3Q?t=21

akanazawa commented 4 years ago

Hi,

Note that in the renderer it has the option to take in view-angles https://github.com/akanazawa/cmr/blob/5d97c4e744bcdd6c3bc20866305ec382fce7fcc5/demo.py#L62 to make that kind of video, you simply render the model in every 5 or 15 angle increments and ffmpeg the resulting images together.

Best,

Angjoo

felixboevr commented 4 years ago

Thank you, Angjoo. What I'm actually trying to do is to get the numpy array of the preprocessed image and visualize it via ipyvolume so that you can twist and turn it. Have a look if you're interested. It's quite amazing https://ipyvolume.readthedocs.io/en/latest/index.html#volume

akanazawa commented 4 years ago

Super neat!! Thanks for sharing.