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

get pointclout error and how to save the pointcloud #124

Open
Wooxinyu opened this issue Dec 4, 2024 · 0 comments
Open

get pointclout error and how to save the pointcloud #124

Wooxinyu opened this issue Dec 4, 2024 · 0 comments

Comments

@Wooxinyu
Copy link

Wooxinyu commented Dec 4, 2024

When I use open3d to save the pointcloud like this, error is pcl_o3d.points = o3d.utility.Vector3dVector(point_clouds)
RuntimeError

 pcl_o3d = o3d.geometry.PointCloud()
        pcl_o3d.points = o3d.utility.Vector3dVector(point_clouds)
        filename = os.path.join(save_folder, f'point_cloud_{count}.ply')
        o3d.io.write_point_cloud(filename, pcl_o3d)
        print(f"Saved {filename}")

then ,get_pointcloud will error :
points = points.reshape((-1, 3))
AttributeError: 'NoneType' object has no attribute 'reshape'
they are running different threads ,l dont konw why make this error

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