Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Read Binary PLY File #116

Open
owen2t opened this issue Mar 28, 2023 · 0 comments
Open

Unable to Read Binary PLY File #116

owen2t opened this issue Mar 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@owen2t
Copy link

owen2t commented Mar 28, 2023

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)

pointcloud.zip

@neka-nat neka-nat added the bug Something isn't working label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants