Geodan / fill-holes-pointcloud

Generate synthetic points to fill holes in point clouds
MIT License
33 stars 8 forks source link

Index 2 is out of bounds for axis 1 with size 2 #7

Open tanishk27 opened 1 year ago

tanishk27 commented 1 year ago

C:/Users/Tanishk_Rane/Downloads/fill-holes-pointcloud-master/raw_6b207c3f-92ab-4355-ab65-c4496c587c14.pcd <class 'shapely.coords.CoordinateSequence'> Traceback (most recent call last): File "init.py", line 14, in fill_holes(points) File "C:\Users\Tanishk_Rane\Downloads\fill-holes-pointcloud-master\fill_holes\fill_holes.py", line 434, in fill_holes indices = np.asarray(h.exterior.coords)[:, 2].astype(int) IndexError: index 2 is out of bounds for axis 1 with size 2

Sample Input for the fill_holes() function C:/Users/Tanishk_Rane/Downloads/fill-holes-pointcloud-master/raw_6b207c3f-92ab-4355-ab65-c4496c587c14.pcd [[ 0.1099903 0.5614326 0.00723594] [ 0.1054728 0.5614326 0.00901191] [ 0.1009404 0.5614326 0.01057232] ... [ 0.06300894 0.7604432 -0.06951104] [ 0.05372136 0.7604432 -0.1117434 ] [-0.07281303 0.7604432 -0.1168853 ]]

tanishk27 commented 1 year ago

Please tell any solution if available

Superkakayong commented 1 month ago

Same issue encountered. Any solutions?