Content Obsolete

This content is no longer current. Our recommendation for up to date content: http://channel9.msdn.com/Series/KinectQuickstart/Installing-and-Using-the-Kinect-Sensor

Installing and Using the Kinect Sensor (Beta 2 SDK)

Download this episode

Download Video

Description

Update: Kinect for Window SDK v1 Quickstart Series now Available (Feb 1st)

Please use the newly updated Kinect for Windows SDK Quickstart series. The content below will only work with the Beta 2 version of the Kinect for Windows SDK.

 

This video covers the basics of installing and using the Kinect sensor. You may find it easier to follow along by downloading the Kinect for Windows SDK Quickstarts samples and slides that have been updated for Beta 2 (Nov, 2011).

  • [02:34] Overview of Kinect Sensor
  • [05:06] Device Manager
  • [05:36] Using Kinect as an Audio Device
  • [07:11] Using Kinect for Speech Recognition

Updates for Kinect for Windows SDK Beta 2 (Nov, 2011)

The video has not been updated for Beta 2, but the following changes have been made:

Installing the Kinect for Windows SDK

Download the 32-bit or 64-bit version of the Kinect for Windows SDK at http://kinectforwindows.org

Kinect Hardware Basics

image

The Kinect Sensor consists of the following:

  • RGB Camera – A regular video camera that has a resolution of 640x480 at 30 frames per second
  • 3D Depth Sensors – This is a combination of a depth projector (left reticule) and sensor (right reticule) to calculate distance. For more information, see the Tech behind Kinect video
  • Motorized Tilt – The motorized tilt enables you to adjust the camera up or down 27 degrees to ensure that the camera has the best possible view of you
  • Multi-Array Microphone – A four-microphone array that is mounted as a single microphone in Windows

Device manager

After installing the Kinect for Windows SDK and plugging in the Kinect to a USB port on your computer. Click Control Panel –> Device Manager. You should see Microsoft Kinect as shown below

image

Audio Microphone

The Kinect microphone can be used for any application that uses a microphone. In the picture below, you’ll see that you can go to Control Panel –> Sounds and select the Recording tab to see the Kinect microphone array

image

 

Using the Kinect Microphone with Windows Sound Recorder

To use Kinect as a microphone for Windows Sound Recorder, simply ensure that the Kinect microphone is setup in the Sound control panel (above) as the default sound recorder. Click the Start Recording button to start recording using the Kinect as a microphone and click the Stop Recording button to be prompted where to save your file

image

How to use Windows Speech Recognition with the Kinect microphone

Click Start and type “Windows Speech Recognition” and hit enter or, in the Sound control panel, right click and select Configure Speech Recognition as shown below

image

 

If you’ve never used speech recognition before, consider using the Take Speech Tutorial option and reviewing the Speech Reference Card. If you are familiar with speech recognition, select Start Speech Recognition

image

Since the Kinect is a microphone array, make sure to select the Other option as shown below

image

Once the Windows Speech Recognition application has started, your screen will display the following widget, which you can use to interact with Speech Recognition application if required

SNAGHTML237f6b5a

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Norman Shey

      High quality WMV has skips. Medium quality WMV is fine.

    • User profile image
      Joel

      The "Microsoft Kinect Camera" driver will not install for me :(
      Any suggestions ?

      I'm on 64bit W7 Home Premium.

    • User profile image
      PungE3

      I cannot get the camera to work either. It is showing up in my device manager as expected, but keeps giving a null reference. No sample apps provided seem to work either. For example, the shapes app displays the "Plug in Kinect and try agin!" error.

      I'm open to trying anything, was/am really looking forward to this SDK!

    • User profile image
      Dan

      @Joel: Can you post more detail on what the issue is? Does the installer fail?

    • User profile image
      Dan

      @PungE3:

      Have you installed any other SDK or drivers for your Kinect?
      Does your Kinect have a blinking green light?
      Have you tried restarting your machine?
      Does the device show up in Device Manager?
      Can you try a different USB port?

       

      In Device Manager, do you see:

      1. Kinect Audio Array Control

      2. Microsoft Kinect Camera

      3. Microsoft Kinect Device?

       

    • User profile image
      Oragamster

      I too am having problems installing the drivers.

      My kinect is blinking with the green light, but I do not have it plugged in to a wall. (do I need too?)

      The device does show up in my devices but only as kinect device and not as the seperate sources.

      Thanks in advance

    • User profile image
      Oragamster

      Never mind, I figured it out.

      Plugging it in to a wall is important. With out that it does not install the video and audio drivers which are important.

    • User profile image
      PungE3

      @Dan:  I have installed previous drivers, but uninstalled them prior to installing this SDK. 

      My Kinect is blinking green and is plugged into the wall.

      I have restarted after trying several different configurations and have also tried several different USB ports (no hub as indicated in the read-me)

      In my device manager I do see all three components (Kinect Audio Array, KInect Camera, and Kinect Device) and when I switch USB ports and check the driver installation status it seems to pick up the references to those three drivers, but it still isn't working.

      Thanks for the help!  It is greatly appreciated.

    • User profile image
      Felix

      The Kinect is NO time-flight depth sensor!!!!
      It does NOT measure the time it takes the IR light to reflect!
      I think it would be technically impossible to do that.
      The Kinect works according to the structured light principle: http://en.wikipedia.org/wiki/Structured-light_3D_scanner
      It projects the scene with a known pattern of IR dots and calculates the depth image from the transverse shift of those dots according to a reference image at a known distance. Described in the PrimeSense patent: http://www.freepatentsonline.com/20100020078.pdf

    • User profile image
      Dan

      @Felix: yes, we are fixing, editing video, my goof, apologies!

    • User profile image
      KellyCoinGuy

      I had trouble getting the drivers to install until the Kinect was plugged in (both to the wall and the USB into the computer). It gave me a "NuiInitialize failed" when I tried running the Sample Skeletal Viewer. So I reinstalled the driver (64 bit) after plugging in the Kinect, and now all is well! Hopefully, this might help someone else running into the same problem.

    • User profile image
      Mubshir Raza Ali

      Good show!

    • User profile image
      Mubshir Raza Ali

      Make sure your Kinect power switch is connected and ON. i spent two hours on figuring out whats the problem. Even when only connected with USB your Kinect will give flashing light, which could mislead you that your power switch is on and conntected. Smiley

    • User profile image
      Akii

      I am not able to install kinect sdk on a 32 bit macchine. The error shown is "INuiInstanceHelper.dll was not available". Please suggest something. Though i was able to install it on a 64 bit machine. Still , not on a 32 bit.....

    • User profile image
      Akii

      got it....installing service pack 1 does the job!!!

    • User profile image
      Mubshir Raza Ali

      Did anyone know where could we get more Kinect C# samples..  Expressionless

    • User profile image
      Berenice

      Hi, i`m from mexico city and i wanna know how can i use the kinect as a mouse, please can you help me?

    • User profile image
      GosuSheep

      I, for some reason, cannot locate Microsoft.Speech framework in my .NET tab in C# visual studio. I have an up-to-date .NET install. Not sure why this is a problem.

      Anyone else facing this absolutely debilitating problem?

    • User profile image
      Haeyoon

      You should install Microsoft Speech Platform SDK.
      This URL helps you
      http://www.microsoft.com/download/en/details.aspx?id=10208

    • User profile image
      Gaurav Raj

      How can I use Kinect SDK with PCL. I tried installing the SDK http://varuagdiary.blogspot.com/2011/08/installing-kinect-on-windows-7-64-bit.html but was not able to integrate it with the PCL library

    • User profile image
      nodel

      Hi since a kinect is a microphone with a camera, can i use another camera with the kinect framework to process the images? thanks.

    • User profile image
      The come on  pessimist

      Why did they make the orange cable not just a usb? Can you answer that without saying profit?

    • User profile image
      Tordre

      @The come on pessimist, I think it has to do with current draw, the usb spec only allows 500mA to be transfer over the connection. Many usb ports on computers support more but by design they do not have to.

      The Kinect has probably draws more than that so instead of causing trouble they made it so that you need an extra power cable.

      Its the same reason external laptop drives come with a cable with 2 USB-A plugs on one end.

      The power cable could also be providing different voltages too, I have not taken a DMM to my cable yet to say for sure.

    • User profile image
      TahirTanoli

      Its awesome to use kinect with your own code. long live microsoft

    • User profile image
      Christophe

      I did everything as described, uninstalled any previously installed drivers, I have the blinking green light, I also see everything in the device manager as it should be. My audio works, but my video doesn't.

      Can anyone be so kind to help me? I'm at a loss here.

    • User profile image
      danish

      i m trying to install SDK but every time getting an error that "error to writing file:microsoft.research.kinect.dll.verify that you have access to that directory" after that i click on retry then got an error of "the installer encountered an unexpected error installing this package.This may indicate a problem with this package.Error code is 2350"
      please help me out :(:(

    • User profile image
      danish

      i m trying to install SDK but every time getting an error that "error to writing file:microsoft.research.kinect.dll.verify that you have access to that directory" after that i click on retry then got an error of "the installer encountered an unexpected error installing this package.This may indicate a problem with this package.Error code is 2350"
      please help me out :(:(

    • User profile image
      Fabianna

      Danish I have the same problem! :(

    • User profile image
      Natu

      Sir,

      I need to conect the KINECT with my laptop USB. But the port size and the kinect cable conector size is different. Is there a way for this.

      Thanks.

    • User profile image
      Oliver

      Hi, I was just wondering if using kinect on my PC would stop it working on my xbox. I would appreciate a answer, I don't want to break it!!!!

    • User profile image
      celisse

      merci pour tout mes serer til possible davoir des nouveau driver pour la kinet merci davance

    • User profile image
      nickel

      Can get the Skeletal Viewer demo to work, but not the Audio Demo. Gives an error message regarding the KinectAudioDevice not found. The speech SDK and runtime (32 & 64-bit) are installed on a pc running 64-bit Windows 7.

      Does Windows 7 Service Pack 1 need to be installed on either a 32-bit or 64-bit machine for the audio portions to work??

    • User profile image
      ivangolod

      @danishMadFabianna:  try to install Visual Studio C# Express before.

       "Error code 2350" issue  

    • User profile image
      Taylor

      @Natu - the cord that connects your kinect to your Xbox is not a USB2 cable. If you didnt get the adaptor when you bought the kinect, you will have to buy one separately. They are called Xbox Kinect Power Adapters: http://www.gamestop.com/xbox-360/accessories/xb360-kinect-power-adaptor/89703

      @Oliver - Yes it will still work for your Xbox. It will not break your kinect. The only way it could break is if you make a program that uses the inner motor, then you will have to be careful.

    • User profile image
      Law

      The video (High Quality MP4 (iPad, PC)) seems to be lagging in my iPad2.
      Anyone else have the same problem on iPad2?

    • User profile image
      maxine

      I dont have windows 7 and it keps teling me i cant download is there any other way i can connect my kinect without windows 7?

    • User profile image
      SChandra

      I Can see the video...

      even can see all three hardware drivers in the device manager but cant see the Microphone Array in the Recording section of the Sound???

      to see the screen shot...
      http://www.merawindows.com/Blogs/tabid/274/EntryId/171/Cant-Use-The-Kinect-Microphone.aspx 

    • User profile image
      Zappy

      Hi I am trying to program using the Microsoft Kinect sdk, but while adding the reference for a program, i cant find the . dll files that are necessary for reference. Can anyone help me out. I have tried restarting my system, uninstalling and installing several times. I have a project to be submitted but i am still in the troubleshooting phases.:(

    • User profile image
      Dan

      @Zappy:Did you install the new Kinect SDK? If so, watch this series of Quickstarts since there are a number of changes, including a different DLL that you'll need to use - http://channel9.msdn.com/Series/KinectQuickstart

    • User profile image
      nurul

      hi,im just started doing project with Kinect for my FYP..but then im just wondering how is it, if i'm going to insert character like the 3D character, is it I've to do in autodesk maya or is it in openGL and how it is connected?

    • User profile image
      Johnsmithli

      It work, just got it....install service pack 1.

    • User profile image
      nurul

      are the SDK beta 1 and SDK beta2 different?

    • User profile image
      gduncan411

      @nurul:Yes. Beta 1, Beta 2 and RTM (aka v1.0) were different and had breaking changes in the API between them. The good news is that the Kinect Team has said that in v1.5 (coming in May) will NOT have breaking changes and app's written with v1.0 will work just fine on v1.5...

    • User profile image
      OKPate

      Thanks for guide how to install Kinect. You save my time. But don't you think that Windows Speech Recognition. Is hard to use?

    • User profile image
      nurul

      i have same problem with @SChandra ..i can see it in device manager,and it said the device works successfully but when i open sound and wanna add the recording device the Microsoft array does not available..how im gonna fix it?

    • User profile image
      nurul

      both my audio and video not working..when i trying to open the sample audio demo, it said that need to install microsoft speech SDK and sample skeletal viewer also not working..did anyone knew how to configure this?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.