Question about Depth Estimation #559
Unanswered
AlexanderJGomez
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hello @AlexanderJGomez , I believe the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Erol444 thanks for the response. I'm a bit confused because this example seems to indicate that z is just another dimension in a 3D cartesian space |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am currently using depth estimation with object detection to calculate the lat, longs of objects in a space and was hoping to get a sanity check on the logic of this process.
With the following device settings:
I take the bounding box from the color camera and scale it to the depth frame. Then, I use the scaled bounding box to calculate the average depth over that region in the depth frame. Using that average depth, I approximate x, y, z coordinates, similar to how it is done here.
Then, I calculate the absolute distance from the center of our camera to the point and the angle (before converting to lat long). I calculate the distance by doing the following:
Lastly, given the angle to the object and the distance away it is (along with other information about where I am and where I am facing), I calculate the object's location.
Beta Was this translation helpful? Give feedback.
All reactions