daniilidis-group / neural_renderer

A PyTorch port of the Neural 3D Mesh Renderer
Other
1.14k stars 254 forks source link

Custom Background Images #39

Open AdityaAS opened 5 years ago

AdityaAS commented 5 years ago

Is there a feature to add custom background images to replace the black background that is provided currently?

nkolot commented 5 years ago

Should be possible to add this functionality. Currently the easiest way to do it is to get the silhouette and do a simple image blending. We still need to add support for rectangular images though. I will add this as an option after I merge the PR that adds support for non-square images