Unable to Read Binary PLY File
owen2t opened this issue · 0 comments
owen2t commented
I am unable to open a binary ply file with cph, while it works for o3d. CPH doesn't throw an error, but says it contains zero vertices, while o3d reads all of the vertices. I don't know what the problem could be- I was looking at the source code for both and they look pretty identical.
Here is the code, and the file in question is attached. (It's in a zipped folder because github wouldn't let me attach a ply.)
import open3d as o3d
import cupoch as cph
o3d.utility.set_verbosity_level(o3d.utility.VerbosityLevel.Debug)
cph.utility.set_verbosity_level(cph.utility.VerbosityLevel.Debug)
filepath = ""
pointcloud = cph.io.read_point_cloud(filename=filepath, remove_nan_points=False, remove_infinite_points=False)
print(pointcloud)
pointcloud = o3d.io.read_point_cloud(filepath)
print(pointcloud)