Items with no label
3335 Discussions

pcl-python or pyntcloud ? python3.6 in anaconda3

tguan
New Contributor I
1,658 Views

how to get point cloud data in python?

i have read this https://github.com/daavoo/pyntcloud GitHub - daavoo/pyntcloud: pyntcloud is a Python library for working with 3D point clouds.

i have problems when i install pyntclub:pip install git+ https://github.com/daavoo/pyntcloud

0 Kudos
1 Solution
MartyG
Honored Contributor III
554 Views

As an alternative to using Pyntcloud, the 'Projection' documentation page of RealSense SDK 2.0 offers the following short script for generating a point cloud in Python.

import pyrealsense2 as rs

pc = rs.pointcloud()

points = pc.calculate(depth_frame)

pc.map_to(color_frame)

https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0# point-cloud Projection in RealSense SDK 2.0 · IntelRealSense/librealsense Wiki · GitHub

View solution in original post

1 Reply
MartyG
Honored Contributor III
555 Views

As an alternative to using Pyntcloud, the 'Projection' documentation page of RealSense SDK 2.0 offers the following short script for generating a point cloud in Python.

import pyrealsense2 as rs

pc = rs.pointcloud()

points = pc.calculate(depth_frame)

pc.map_to(color_frame)

https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0# point-cloud Projection in RealSense SDK 2.0 · IntelRealSense/librealsense Wiki · GitHub

Reply