I’m using Open3D in Python to sample 1000 points on the same .obj file to get a point cloud. But every time you process the same .obj file, you end up with a different point cloud.
Is there a way to get the same point cloud for the same .obj file every time? GPT suggests setting a random seed, but it doesn’t work after I set it.
# 从OBJ文件中加载点云数据
mesh = o3d.io.read_triangle_mesh(objFilePath)
# 按密度均匀采点(更加均匀)
density_pcd = mesh.sample_points_poisson_disk(cloudCount)
New contributor
hu changpan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.