X, Y, Z coordinates
Hello!
I have a D435i camera. How is it possible to get the x, y, z coordinates from depth frame in python language? I tried the pointcloud().calculate(depth) method but unfortunately I can't access to coordinates. I didn't find any solution yet. Could anyone show an example where x, y, z, coordinates are obtained?
Thanks in advance for your help!
Best regards,
Martin
-
Hi Szalontai Martin As you are already using pointcloud.calculate, you could store the result of that operation in a numpy array and then print the coordinates from the array. The link below has an example of doing so in Python.
https://github.com/IntelRealSense/librealsense/issues/4612#issuecomment-566864616
Please sign in to leave a comment.
Comments
2 comments