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

Open3d Error #124

Open
wyiguanw opened this issue Jun 11, 2024 · 2 comments
Open

Open3d Error #124

wyiguanw opened this issue Jun 11, 2024 · 2 comments

Comments

@wyiguanw
Copy link

Hello, Thanks for the great work! I have tried colab version, it works well. But when I try to deploy it on my computer, this error is raised. is there any solution?

system: Ubuntu

[Open3D Error] (static std::tuple<std::shared_ptr<open3d::geometry::TriangleMesh>, std::vector<double, std::allocator<double> > > open3d::geometry::TriangleMesh::CreateFromPointCloudPoisson(const open3d::geometry::PointCloud&, size_t, float, float, bool, int)) /root/Open3D/cpp/open3d/geometry/SurfaceReconstructionPoisson.cpp:732: Point cloud has no normals

@lililuya
Copy link

lililuya commented Nov 7, 2024

Hello, Thanks for the great work! I have tried colab version, it works well. But when I try to deploy it on my computer, this error is raised. is there any solution?

system: Ubuntu

[Open3D Error] (static std::tuple<std::shared_ptr<open3d::geometry::TriangleMesh>, std::vector<double, std::allocator<double> > > open3d::geometry::TriangleMesh::CreateFromPointCloudPoisson(const open3d::geometry::PointCloud&, size_t, float, float, bool, int)) /root/Open3D/cpp/open3d/geometry/SurfaceReconstructionPoisson.cpp:732: Point cloud has no normals

hey, did you find any solution?

@lililuya
Copy link

lililuya commented Nov 7, 2024

I‘ve solved it, this error is caused by uncorrect parameter in function. The o3d.geometry.TriangleMesh.create_from_point_cloud_poisson() 's function signature is

open3d.geometry.TriangleMesh create_from_point_cloud_poisson(
    pcd: open3d.geometry.PointCloud, 
    depth: int = 8, 
    width: int = 0, 
    scale: float = 1.1, 
    linear_fit: bool = False
) -> Tuple[open3d.geometry.TriangleMesh, open3d.utility.DoubleVector]

.There is a uncorrect parameter n_threads=-1 pass to it.
My open3d version is 0.10.0.0 in Ubuntu22.04

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

2 participants