- Best Answerset by hexbabe
Hi hexbabe
The pointcould is not in PCD format, but you can access the points by using a custom callback function:
def cb(pcl):
print(pcl.points)
with OakCamera() as oak:
color = oak.camera('color')
stereo = oak.create_stereo()
stereo.config_stereo(align=color)
pcl = oak.create_pointcloud(stereo=stereo, colorize=color)
oak.callback(pcl, callback=cb)
oak.start(blocking=True)
Thanks,
Jaka