facebookresearch / habitat-sim

A flexible, high-performance 3D simulator for Embodied AI research.
https://aihabitat.org/
MIT License
2.56k stars 416 forks source link

Adding simkinect depth noise #780

Open ankurhanda opened 4 years ago

ankurhanda commented 4 years ago

🚀 Feature

We have been using our depth noise models to benchmark SLAM systems as well as doing sim-to-real perception with neural networks. They are more realistic and you may find them useful too

Here is the code https://github.com/ankurhanda/simkinect and it has examples on how to use them.

Motivation

Better noise models will aid sim-to-real transfer.

Pitch

The python code I wrote above is very slow and may need pybind11 with CUDA kernels. I may not get to it soon so I thought I may point it out to you the codebase and see if you can incorporate that in habitat-sim.

Alternatives

Additional context

This is what it looks like. Left is the clean image and right is the image with depth noise.

depth_noised_181

Skylion007 commented 4 years ago

If you can get it to use NUMBA, that might make might sufficiently fast, only way to know for sure is to try it though.

ankurhanda commented 4 years ago

Yes, so as said I am not finding time but the depth noise model is better than the one you currently have in habitat. I have been using it for the past 6 years in most of my papers. But I'd let you make a decision if you want to add that in habitat. I just wanted to point it out.

I may go back to doing it but won't be any time soon (not in the next 6 months).

Thank you.