Items with no label
3335 Discussions

Is it possible to obtain X,Y,Z coordinates/raw data of Vertices/PointCloud?

EFoo
Novice
1,232 Views

Hello there,

I am pretty new to programming, and I am "forced" to use the Intel Realsense D435 for some project in my company haha! Even creating a new project together with the SDK was challenging for me..

Are there any pointers on getting the X,Y,Z data for the Vertices in say a Excel format? Hoping to get these data for some depth comparisons and calculations.

Any advise is appreiciated, thank you very very much in advance!

0 Kudos
2 Replies
MartyG
Honored Contributor III
305 Views

RealSense's SDK Manager, Dorodnic, has suggested using the SDK's point cloud example program to a user with a similar question, as "the output of pointcloud object is a collection of {x,y,z} coordinates in the real world. You can also calculate these yourself using SDK helper functions under rsutil.h".

https://github.com/IntelRealSense/librealsense/tree/master/examples/pointcloud librealsense/examples/pointcloud at master · IntelRealSense/librealsense · GitHub

Another option for getting an Excel-friendly format more easily may be using the pre-made RealSense Viewer tool to record the stream as a 'bag' file in its 2D mode and then use the SDK's Convert tool to convert the bag into a csv format file. CSV is a tabulated data format suitable for databases and spreadsheets.

https://github.com/IntelRealSense/librealsense/tree/master/tools/convert librealsense/tools/convert at master · IntelRealSense/librealsense · GitHub

0 Kudos
EFoo
Novice
305 Views

I will take a look at your comments. Thank you very much Marty, good day!

0 Kudos
Reply