IsaacGuan/PointNet-Plane-Detection

how are the .pts files generated?

joanne1112 opened this issue · 2 comments

Hi, Isaac!
Thanks for sharing the code. I am also studying Pointnet but I am new to the 3D point cloud.
Could you please tell me how to get the .pts files from the .ply files?

Thanks before!
Joanne

Hi Joanne,
I think you could also use the plyfile, the tool that makes the HDF5 file from PLY file. As PTS is an unordered list of 3D coordinates with no headers or trailers, the only thing we need to do is to read the points from the PLY file and write them into a list.
Concretely, you could take this as a reference: https://isaacguan.github.io/2018/05/04/Prepare-Your-Own-Data-for-PointNet/#PLY-Data

Got it! Thanks a lot!