none
how do i get started on programming for the kinect 2? RRS feed

  • Question

  • how do i get started on programming for the kinect 2?

    i am new to the kinect and have no programming experience with c++ or c#. i downloaded the sdk 2 and visual studio 2013, but i don't quite follow how i should start programming. for example how do i even begin to link the sdk and visual studio together.
    Thursday, July 31, 2014 12:42 AM

All replies

  • First thing is first, run the samples provided with the sdk installation. You can get to the samples by clicking on your windows key/start button and typing "Kinect Browser". You should see the Kinect Sdk version 2.0 WPF Browser application load up. In this application you can run various samples to get a feel on how the device works.

    It also contains sample code on how to get started building applications.

    After you play around with this and the samples for a while, I'd recommend you pick up a book or tutorial on .Net programming. I believe .Net programming will be the easiest to pick up and understand, and get you to a basic level coding alot faster than C++. I also have a getting started with Kinect Programming video on Wintellect Now (however it's for v1, but you can still apply the concepts with the new SDK for version 2). You can get to the video here: https://www.wintellectnow.com/Videos/Watch/build-your-first-kinect-for-windows-app

    Use code: Goins-13

    You can also watch the Microsoft Virtual Academy (MVA) jump start videos/course for the new SDK version 2 here:

    http://www.microsoftvirtualacademy.com/training-courses/programming-kinect-for-windows-v2-jump-start


    Sr. Enterprise Architect | Trainer | Consultant | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer |blog: http://dgoins.wordpress.com

    Thursday, July 31, 2014 2:51 AM
  • I would go for module 2 in the jump start Dwight linked (Kinect Data Sources and Programming Model) for a quick start.

    To "link" sdk and visual studio you should:

    1. Create a new project in a framework that supports Kinect, for example, new project->C#->WPF application.
    2. Project explorer->references->add reference->Microsoft.Kinect.

    You don't say if you have experience with other programming languages, but v2 SDK has a Javascript WinRT API and you can develop apps for the windows store with HTML/Javascript.

    If you have no experience in programming at all (or in object oriented programming) I would follow the longest path of "start programming" (in this case i would read your question as "how i learn programming (for X technology) without learning programming?" that seems quite a paradox to me).

    Thursday, July 31, 2014 8:20 AM