-
Notifications
You must be signed in to change notification settings - Fork 108
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
Point cloud visualization is sparse #68
Comments
Hi @AlexPasqua, so how did you get the point cloud in the second picture to load correctly? Which format are you using and can you provide an example point cloud? Best, |
Thanks for the reply @ch-sa ,
I didn't manage to load the point cloud correctly, but a colleague of mine did, and I took that screenshot while on a video call with him.
My point clouds are in Hope to receive some news soon, |
It's difficult to tell from that point of view, try to load this label (in KITTI format) and zoom to one of the bounding boxes, it the boxes are empty, than it's my same problem. There should be points (specifically in the shape of a cone) within the boxes. Also, I tried to use a tool called Supervisely, and here the same pointcloud is loaded correctly
|
@ch-sa |
Hey @AlexPasqua, so is the same point cloud looking differently on windows than my screenshot posted above? (There were some issues with PyQt5 gut Windows, which is why I previously limited the PyQt versions to am older version. But this seems to have been fixed, so I dropped this limitation in the newest release of labelCloud.) |
Hello @ch-sa |
Hey @francescofact, thanks for the screenshots. That's really odd. Seems like an issue with OpenGl, cause there is no difference in the logic between the operating systems. Will try to have a look on it tomorrow. |
Ciao @AlexPasqua and @francescofact, after quite some debugging I rooted the problem in the loading of the
(In reality the first point is located at -0.20108423 11.055668 0.56653374!) So what I did was converting your import open3d as o3d
pcd = o3d.io.read_point_cloud("pointclouds/pointcloud_116.pcd")
o3d.io.write_point_cloud("pointclouds/pointcloud_116.ply", pcd) ... and this could be loaded and displayed correctly inside labelCloud:
I would say this is a bug of Open3D but when running in interactive Python the same code as in labelCloud it suddenly works: >>> import open3d as o3d
>>> o3d.__version__
'0.15.2'
>>> pcd = o3d.io.read_point_cloud("pointclouds/pointcloud_116.pcd")
>>> pcd.points[0]
array([-0.20108423, 11.055668 , 0.56653374]) You can bypass this problem in shorthand by converting your point clouds into a different file format (like shown above). I will look into the issue with |
FYI: @francescofact , @AlexPasqua This issue seems only to happen after initializing a import sys
from PyQt5.QtWidgets import QApplication
import open3d as o3d
QApplication(sys.argv)
pcd = o3d.io.read_point_cloud("pointcloud_116.pcd")
print(f"First point: {pcd.points[0]}") # prints "First point: [-0. 11. 0.]" I opened a bug ticket in Open3D for this: You can follow the progress there and until then maybe use a different format. |
Thanks for the support @ch-sa 😃 |
My point clouds are visualized as they have far less points than they actually have.
I attach 2 pictures: the first shows the visualization I get, while the second shows the correct one.
As a further note, the exemplary pointcloud provided by you is visualized correctly.
I'm running on Ubuntu 20.04.3 LTS and python 3.8.10.
This error happens both when installing labelCloud via pip and when performing a manual installation downloading the github repo.
The text was updated successfully, but these errors were encountered: