You could try to filter the point cloud for minimum depth before obstacles_detection. If you are using
point_cloud_xyz nodelet, there is the parameter "min_depth" that can be used for that. Otherwise, you could use a generic
passthrough filter from pcl_ros.
cheers