IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.6k stars 4.83k forks source link

Distance from center of depth image emulation from opencv and t265 #9799

Open simon88 opened 3 years ago

simon88 commented 3 years ago
Required Info
Camera Model T265
Operating System & Version Win10
Platform Intel NUC
SDK Version 2.49.0
Language Python 3.9

Issue Description

It's more like a question or feature request for t_265_steroe.py https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/t265_stereo.py I'am working with this script but now I'd like to know if it's possible for training to add distance feature like C++ example here https://github.com/IntelRealSense/librealsense/tree/master/examples/hello-realsense. So the objective is to have a distance from center of camera. I think is it possible to do thaht with OpenCV and reprojectImageTo3D but I'am not sure...

FenrirVonDerNebelungs commented 3 years ago

You may already know this but the c++ example hello-realsense doesn't actually work. Its just there to entertain newbs.