How to save the debug or point cloud from dbscan in csv format? #3629
Answered
by
ssheorey
vimalchawda
asked this question in
Q&A
-
http://www.open3d.org/docs/release/tutorial/geometry/pointcloud.html#DBSCAN-clustering |
Beta Was this translation helpful? Give feedback.
Answered by
ssheorey
Jan 7, 2022
Replies: 1 comment
-
That tutorial converts the obtained cluster labels to a Numpy array. You can then save the Numpy array as csv with
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
germanros1987
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That tutorial converts the obtained cluster labels to a Numpy array. You can then save the Numpy array as csv with
np.savetext
. Something like:np.savetxt('pcd_labels.csv', np.hstack((np.asarray(pcd.points), labels)), delimiter=',')