Python-如何配置和使用Kinect
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14458016/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Python- How to configure and use Kinect
提问by pradyunsg
I have an Xbox 360 + Kinect. It's great fun to play on it, So, I was wondering if it was possible to use Python to use it and make my own games (and play on PC).
Currently,
I have
1.Drivers from Microsoft and the hardware.(only)
2.Noexperience with 3d programming.
我有一个 Xbox 360 + Kinect。玩它很有趣,所以,我想知道是否可以使用 Python 来使用它并制作我自己的游戏(并在 PC 上玩)。
目前,
我有
1.Drivers 来自 Microsoft 和硬件。(仅)
2.没有3d 编程经验。
My Questions
1. Is there good and easy to use module for using Kinect on PC??
2. And any books for the same??
我的问题
1. 在 PC 上使用 Kinect 有没有好用且易于使用的模块?
2. 有没有同样的书??
I am using Windows 32 and 64 bit and Python 2.7.
我使用的是 Windows 32 和 64 位以及 Python 2.7。
回答by Gareth Webber
There is a project called Open Kinectwhich has many wrappers that you can make use of, including one for Python.
有一个名为Open Kinect的项目,它有许多可以使用的包装器,包括一个用于Python 的包装器。
To help you get started, there are a good few code demo's supplied with their source code, which can also be viewed online here.
为了帮助您入门,提供了一些代码演示及其源代码,也可以在此处在线查看。
Once you've got to grips with making use of the information the Kinect is sending back to you, you can try the popular pygameto base a game around whatever it is you're trying to do.
一旦您必须掌握使用 Kinect 发送回给您的信息,您就可以尝试使用流行的pygame来围绕您想要做的任何事情来构建游戏。

