plane detection with RealSense D435

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

plane detection with RealSense D435

cestque
Hello I'm developing a interactive project, and I wanna implement the RTAB-MAP using RealSense D435 to understand the environment. However I'm new to RTAB-MAP and stuck with the problem about how to detect planes in the environment, like the walls and tables.

Is there any functions or libraries I can refer to? Any suggestion is greatly appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: plane detection with RealSense D435

matlabbe
Administrator
If you want to detect planes in point cloud, you could check plane segmentation: https://pcl.readthedocs.io/projects/tutorials/en/master/planar_segmentation.html#planar-segmentation

Some objects could be segmented after removing the planes: https://pcl.readthedocs.io/projects/tutorials/en/master/cluster_extraction.html#cluster-extraction

However, point clouds from D435i may be noisy farther from the camera. You may limit the range of the depth when generating the point cloud of the map.

Other option could be to segment plane/chairs in 2D images using some NN approaches, so that you can know the "class" of 3D points generated from depth image. You would have to regenerate the 3D point clouds from RGB-D data published by rtabmap on your side though.

From Kimera semantic approach (https://arxiv.org/pdf/1910.02490):
the 2D semantic labels can be obtained using off-the-shelf tools for pixel-level 2D semantic segmentation, e.g., deep neural networks [7]–[9], [64]–[69] or classical MRF-based approaches [70]

cheers,
Mathieu