Can i extract pointcloud from depth image in c++? Not only ROI,but all image.
Hello lorenzo , I bet you could. Here's a demo of this in python, and we also have a device-side pointcloud PR here. Feel free to give it a try and maybe submit a PR if you convert it to C++ 🙂!
erik Thanks for answer, but I wanted to know how can I extract the point cloud in c ++? is there an example? not spatial_location_calculator. Thanks
Hello lorenzo , there's no example for C++ yet. The python version creates (open3d) pointcloud from depth frame (and optionally color frames for colorized pointcloud), as shown here.
erik thanks very mutch
lorenzo I also try to convert depth map to point cloud in C++ using the python example : On-device Pointcloud NN model (see my post here : https://discuss.luxonis.com/d/1212-on-device-pointcloud-nn-model-with-c )
For now, I did not succeed. Did you find a solution to do it ?
Hi, i dont find a solution, Sorry.
I finally got it to work. See my answer here: https://discuss.luxonis.com/d/1212-on-device-pointcloud-nn-model-with-c/5