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

Open3dVisualizer runs slowly #105

Open
Reach666 opened this issue May 8, 2023 · 0 comments
Open

Open3dVisualizer runs slowly #105

Reach666 opened this issue May 8, 2023 · 0 comments

Comments

@Reach666
Copy link

Reach666 commented May 8, 2023

Open3dVisualizer runs slowly in my machine. Through debugging, I found that this line of code takes a long time (about 2s).
self.point_cloud.points = o3d.utility.Vector3dVector(points_3d)

If I change the data type before this line of code, the code runtime will be greatly reduced (about 0.03s).
points_3d = points_3d.astype(np.float64)
self.point_cloud.points = o3d.utility.Vector3dVector(points_3d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant