Small Basic – Try out the New Kinect Extension!


We’re trying out a Kinect Extension!

NOTE: This will also work with the Xbox One Kinect Sensor and the Windows adapter.

Please give it a try and post your feedback below or in this Small Basic Forum thread.

 

Note: This information is also available in the Coding4Fun blog on Channel 9 here.

 

Let’s get to it!

Kinect for Small Basic

System Requirements

1. Supported Operating Systems

  • Windows 8
  • Windows 8.1
  • Windows 10 Preview

2. Hardware/SW Requirements

  • 64-bit (x64) processor
  • Dual-core 3.1-GHz or faster processor 
  • Dedicated USB 3.0 bus 
  • 2 GB RAM
  • DX11 capable graphics adapter · A Microsoft Kinect for Windows v2 sensor 3 (or the Xbox One Kinect Sensor and the Windows adapter).
  • Microsoft Small Basic 1.1 or later

Programmers Guide

Kinect for Small Basic is a set of extension objects for Small Basic which allow anyone to program with the Microsoft Kinect Sensor and the information that it captures.  Here are examples of what you can do with Kinect for Small Basic:

  • Show the color, infrared, depth, body index, and body sensor data
  • Capture images from the color, infrared, depth, and body index sensors
  • Replace the background behind people in the foreground with another image.  This is similar to chroma key compositing or “green screen” processing.
  • Get the position and orientation of 26 different “joints” in up to 6 human bodies in both 3D space and on the screen
  • Gets the open/closed state of the hands of up to 6 humans in front of the sensor
  • Gets the lean angle of up to 6 humans in front of the sensor
  • Gets the position and orientation of the faces of up to 6 humans in front of the sensor

Programmers Reference

You will notice that three new objects now appear in the IntelliSense object list: KinectBodyList, KinectFaceList, and KinectWindow.  All of the Kinect capabilities available in Small Basic are accessed through these objects.  There are some capabilities in the Kinect sensor that are not available in the Kinect for Small Basic at this time which are available to developers who use Visual Studio and the full Kinect for Windows SDK.

image

image

1, Download Small Basic 1.1 http://www.microsoft.com/en-us/download/details.aspx?id=46392

2. Download the Kinect for Small Basic installer here http://bit.ly/Kinect4SmallBasic

3. See Small Basic tutorials and samples here: http://smallbasic.com/

4. Get a Kinect for Windows Sensor: http://www.microsoft.com/en-us/kinectforwindows/purchase/default.aspx

 

 

Special thanks go out to the Synergist (blog).

And please remember to post your feedback and questions below or in this forum thread.

   – Ninja Ed

Comments (4)

  1. anonymouscommenter says:

    This will also work with the Xbox One Kinect Sensor and the Windows adapter.

  2. Thanks Michael!

    I added that into the blog post as well.

  3. Saeid Hasani says:

    Awesome feature!

    Thanks Ed for sharing this! 🙂

  4. You're welcome! Yes, we're pretty excited to have Kinect support!

Skip to main content