My goal is to find the depth corresponding to the white pixels of the image. But the distance I found using the function get_distance() is incorrect. My box is about 0.5 meters from the camera.The white pixels are the areas corresponding to the boxes and should all be about 0.5 meters deep.The last image is the partial coordinates and depth of the white pixels. Theoretically, the depth value should be 0.5 meters, why there are more than 30 meters of data. Before this I have matched the color image with the depth image. Thank you in advance
Please sign in to leave a comment.