Kinect 2 Scratch Version 2

Kinect 2 Scratch is an extension for Scratch 1.4 and Scratch 2.0 that enables Scratch coders program with the Kinect sensor for Xbox 360 or Xbox One.

It is free software developed by Stephen Howell | @saorog | StephenHowell@outlook.com.

Screenshot

Watch the free Microsoft Virtual Academy video course (please rate it on MVA if you find it useful): Coding for Kinect with Scratch.

If you use Kinect2Scratch and find it useful, please tweet about it and share a link to this page.


Setup

Setup is slightly different depending on which Kinect sensor you have. Let's start there, do you have a Kinect v1 or Kinect v2 sensor? If you have the Kinect v1, that came with the Xbox 360, or as a standalone Kinect for Windows, you will need an electricity plug for the Kinect, it will not work without one! You can buy this separately if you need to.

If you don't have a Kinect yet, you need both the sensor: Kinect for Xbox One and the adaptor kit: Kinect Adapter for Windows.


Kinect v2 (Xbox One Kinect)

If your Kinect looks like this:

then you have a Kinect v2.

Other requirements are as follows:

PC Minimum Spec of:

  • Windows 8 or 8.1, or Windows Embedded 8
  • 64-bit (x64) processor
  • Physical dual-core 3.1 GHz (2 logical cores per physical) or faster processor
  • USB 3.0 controller dedicated to the Kinect v2 sensor
  • 4 GB of RAM
  • Graphics card that supports DirectX 11

Install the following SDK: Kinect SDK 2.0.

If using Scratch 1.4, download it: Scratch 1.4.
ScratchX instructions coming as soon as I figure them out :)

Download this and store it somewhere you will find it again: Kinect2Scratch v2.
Download this and store it in your Scratch Projects folder: Skeleton Scratch Project v2.
Download this and also store it in your Scratch Projects folder: Example projects

Steps
  1. Plug in Kinect v2, wait for it to finish installing new device(s)
  2. Run Kinect2Scratch for Kinect v2, it may ask you to allow local port access (to communicate with Scratch)
  3. Make sure you can stand somewhere that a green skeleton appears over your image – it needs to see your whole body
  4. Run Scratch 1.4, load sample file attached (it may ask you to allow local port access)
  5. Click green flag in Scratch, click present mode (top right easel icon)
  6. Dance around in front of your PC waving your arms (this bit is optional)

Kinect v1 (Xbox 360 Kinect)

If your Kinect looks like this:

then you have a Kinect v1.

Other requirements are as follows:
PC Minimum Spec of:

  • Windows 7 or Windows 8
  • 32-bit (x86) or 64-bit (x64) processors
  • Dual-core, 2.66-GHz or faster processor
  • USB 2.0 bus dedicated to the Kinect v1 sensor
  • 2 GB of RAM
  • Graphics card that supports DirectX 9.0c

Install the following SDK: Kinect SDK 1.8

If using Scratch 1.4, download it: Scratch 1.4.
ScratchX instructions coming as soon as I figure them out :)

Download this and store it somewhere you will find it again: Kinect2Scratch v1.
Download this and store it in your Scratch Projects folder: Scratch Project Samples v1.

Steps
  1. Plug in Kinect v1, wait for it to finish installing new device(s)
  2. Run Kinect2Scratch for Kinect v1, it may ask you to allow local port access (to communicate with Scratch)
  3. Make sure you can stand somewhere that a red overlay appears over your image – it needs to see your whole body
  4. Run Scratch 1.4, load sample file attached (it may ask you to allow local port access)
  5. Click green flag in Scratch, click present mode (top right easel icon)
  6. Dance around in front of your PC waving your arms (this bit is optional)

Citing Kinect2Scratch

If you want mention Kinect2Scratch in your documentation or posters, please use something like: "Kinect2Scratch was developed by Stephen Howell. It is available at http://howell.azurewebsites.net/kinect2scratch/".

If your academic work is published, and you need to reference me, please use the following citation:
Howell, S. (2015). Kinect2Scratch [Computer Software]. http://howell.azurewebsites.net/kinect2scratch/