Python - Click on a point to get its XYZ coordinates
Hi,
Is there a Python reference to use mouse clicking to get a point's world coordinates, similar to how Realsense-viewer does it in C++?
Thanks in advance.
-
Hi Edenclaire8 The first problem to solve would be to listen for a mouse click event using an instruction such as on_click and then initiate some code get to the coordinate when the click event is recognized.
In Python RealSense projects, click events can involve importing a graphical user interface (GUI) such as TKinter or PyQT.
https://github.com/IntelRealSense/librealsense/issues/10337#issuecomment-1078750365
Please sign in to leave a comment.
Comments
1 comment