Enables writing Kinect applications, games, and experiences using Python. Inspired by the original PyKinect project on CodePlex.
Only color, depth, body and body index frames are supported in this version. You have some example code in the Examples foleder and the code is pretty easy to read
The easiest way to get most of the pre-requisites is to use Anaconda which includes NumPy. You'll then need to pip install comtypes. The PyKinectBodyGame sample requires PyGame which needs to be manually installed.
- Download Python3.12.3
- pip install comtypes
- Install the Kinect for Windows Runtime 2.2.1811
- Install the Kinect SDK 2.0
- Go to the file folder > Kinect for Windows Runtime 2.2.1811 > Right click and Install the file “kinectsensor.inf”
- Then install the Kinect SDK
- Then run the program KinectRuntime-x64.msi
Full List of Dependencies
The package needs to be installed manually, so first clone/download the project somewhere on your computer, Go inside it trough your cmd, and type this:
pip install .
If you are using a virtual environment, be sure to activate it first.