Goncalo287 / savi_t2

0 stars 0 forks source link

Difficulties in getting RGB-D Camera information #7

Closed RBastos36 closed 8 months ago

RBastos36 commented 8 months ago

Not being able to get depth information from the camera being used (Orbbec), only being able to get RGB values. Tried using OpenCV library (supposedly has a function to get information from RGB-D cameras) to get said information but with no success.

AdrianoFF10 commented 8 months ago

Maybe try to use the information in this site, where is displayed information about Orbbec Astra and how to configure it.

You can also check if this site is useful, but the information is in C++.

There is also a script that converts a RGB and a depth image into a PointCloud here.

Goncalo287 commented 8 months ago

It's working, the program shows the color and depth image with opencv. The depth image is obtained using OpenNI. When the user presses "enter" to confirm, it generates a point cloud from those images and uses it as a scene. The clustering parameters are different for these scenes since there are fewer points (only uses 1 image to generate the point cloud).