Kinect - Map (x, y) pixel coordinates to “real world” coordinates using depth

后端 未结 3 1059
陌清茗
陌清茗 2021-01-01 08:02

I\'m working on a project that uses the Kinect and OpenCV to export fintertip coordinates to Flash for use in games and other programs. Currently, our setup works based on

3条回答
  •  长情又很酷
    2021-01-01 08:23

    The depth stream is correct. You should indeed take the depth value, and then from the Kinect sensor, you can easily locate the point in the real world relative to the Kinect. This is done by simple trigonometry, however you must keep in mind that the depth value is the distance from the Kinect "eye" to the point measured, so it is a diagonal of a cuboid.

    Actually, follow this link How to get real world coordinates (x, y, z) from a distinct object using a Kinect

    It's no use rewriting, there you have the right answer.

提交回复
热议问题