peteanderson80 / Matterport3DSimulator

AI Research Platform for Reinforcement Learning from Real Panoramic Images.
Other
504 stars 130 forks source link

Update skybox image w/h so error for missing depth is better #43

Closed philr-acvt closed 5 years ago

philr-acvt commented 5 years ago

Previously it was using the rgb w and h, so there would be an error on the next line if the depth Mat was empty. Now it will fall through and print a useful error message.

Addresses #42