You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to implement the functionality of picking points on a point cloud and retrieving the array of selected points using WebRTC? Or is there another workaround?
def pick_points(pcd):
"""Allows the user to pick points interactively in the Open3D viewer."""
o3d.visualization.webrtc_server.enable_webrtc()
print("Please pick points to define a region. Press 'Q' to finish.")
vis = o3d.visualization.VisualizerWithEditing()
vis.create_window()
vis.add_geometry(pcd)
vis.run()
picked_indices = vis.get_picked_points()
vis.destroy_window()
return np.asarray(pcd.points)[picked_indices]
The text was updated successfully, but these errors were encountered:
ddkats
changed the title
Summarize the question. (e.g., "How to run reconstruction system with RealSense D435i? ")
Retrieve Picked Points - WebRTC
Apr 2, 2025
Checklist
main
branch).My Question
Is there a way to implement the functionality of picking points on a point cloud and retrieving the array of selected points using WebRTC? Or is there another workaround?
The text was updated successfully, but these errors were encountered: