Hello bbbares,
You can define the bounding box prior to the depth maps generation so that the floor surface is not included. If you generate the complete model, then excessive geometry removal of the polygonal model can be performed by checking the coordinate data for the mesh vertices. For example, if all three vertices of polygon are below certain level, such polygon should be deleted.