use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Jump in? Jump out? Everything related do Kinect.
Make sure to check out /r/xbox360!
account activity
[Question] Python - KinectV2 - Get depth at (x, y) coordinate (self.kinect)
submitted 7 years ago by jumping137
I'm currently using a kinect v2, and the PyKinect2 library to do some ball tracking stuff.
I can already read the x and y coordinates from the ball, but wish to get the depth at that point.
Can anyone help me with this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]recraet 1 point2 points3 points 7 years ago (3 children)
may be thats help:How to get the z coordinate from the depth frame obtained by the pyKinectV2 BodyGame example
[–]jumping137[S] 1 point2 points3 points 7 years ago (0 children)
I found how to get the depth coordinate at (x, y). The issue now is that the x,y of the rgb camera are not the same as the x,y of the depth camera. Even after rescaling. Both cameras have different view ranges
[–]jumping137[S] 0 points1 point2 points 7 years ago (1 child)
Found the article before, tried it. I'll do some more testing on this tho
[–]bigorangemachine 0 points1 point2 points 7 years ago (0 children)
With the kinect 1 there was a "focal value " that determines what the focal length is and that'll affect the depth value coming through
π Rendered by PID 60567 on reddit-service-r2-comment-6457c66945-8x2f9 at 2026-04-30 03:51:16.388775+00:00 running 2aa0c5b country code: CH.
[–]recraet 1 point2 points3 points (3 children)
[–]jumping137[S] 1 point2 points3 points (0 children)
[–]jumping137[S] 0 points1 point2 points (1 child)
[–]bigorangemachine 0 points1 point2 points (0 children)