Getting and running KinectJSON - glastonbridge/art-of-computer-science GitHub Wiki

Prerequisites

  • A Windows 7 or 8 machine
  • A Kinect (Xbox360 or Windows should work)
  • The .NET runtime 4.5

Build prerequisites (not required if you are using a pre-built binary).

  • Visual Studio Express 2012
  • The Kinect SDK v1.8

Building

  1. Download the Art of Computer Science repo
  2. Open KinectJSON/KinectJSON/KinectJSON.sln
  3. Press F7 to build the solution.

Running

Plug your Kinect in before starting the app.

Either set up your firewall to allow KinectServer to run as a server on the port you want (see below) or run the app as an administrator. Otherwise your firewall may stop the app from talking to the outside world.

The KinectServer app accepts a single command-line argument, which is the address and port that it should listen on. It should be in URL form and terminated with a slash /. Like so

KinectServer.exe http://localhost:8111/

You can test that the server is running by going to that address in your browser. Assuming no-one is actively dancing in front of your Kinect at this point, it will give you a very sparse "frame" of JSON data with no skeleton or joint data.