0. Preface:first of all, my development environment, Visual Studio is 2013, the system is the 64-bit version of WIN8, the SDK is the Kinect for Windows SDK 1.8 version. Although the previous blog post cost a half-time, translated the new features of 2.0SDK, but I still decided to return a version. In fact, I've been using the SDK in 2.0 to debug Kinect, but the lab provided Kinect is for Windows 1.0 version, and Kinect since 1.8 is like a watershed, such as Win8 and Win7 there is a big difference between the 2.0 version of the Kinect and the SDK are compared to the previous version of a lot of advanced, online and books on the less information, so I can only step back to the sky. And the Kinect 2.0 SDK does not need to be installed separately developer Toolkit, the specific new features can be found in the previous article of my study notes. in order to avoid the problem with the huge version gap between the Kinect device and the SDK, I finally decided to choose the 1.8 version of the SDK.
1.8 of the SDK I uploaded a copy of the Baidu Network, we can pick the fast download: http://pan.baidu.com/s/1jiOOm
This provides Microsoft's officialKinect for Windows SDK 1.8:http://www.microsoft.com/en-us/download/details.aspx?id=40278&hash=SjpZOegJKZ4aHHTLej%2b0PC2m% 2fsdilrany75i146rvj3uimf9shjprltrwg1heqqpicpbazoutdry2hfqnukd0w%3d%3d
1. Preparatory workthe so-called 工欲善其事 its prerequisite, as a Kinect developer, you will need to meet some hard conditions. (1) Visual Studio development environment, I believe that no programmer does not install this bar .... Suggest VS2012 or 2013. (2) Mastering the C # or C++,kinect SDK supports managed or unmanaged languages. The so-called hosting is executed by the common language runtime environment rather than by the operating system, and unmanaged is code that is executed directly outside the common language runtime environment by the operating system. (3) The Windows development environment and the Kinect computer's CPU memory and video card compatibility have certain requirements, usually as long as your computer is not a few years ago the old machine, are almost satisfied, this only mention. (4) In addition, you must have the. NET Framework in your computer, which will be installed automatically when you install vs. If you install vs when the. NET Framework is blocked by some digital defender, then you need to download the. NET Framework reload online separately, I'm using the. NET Framework 4.5.
2. Installing the SDKNext we are ready to install Kinect SDK 1.8, we need to confirm a few things before installing. (1) before installing the SDK, make sure that Visual Studio is turned off so that the environment variable configuration of the Kinect SDK(2) If your PC is in Windows Update, please update and then install(3) Make sure the Kinect device is not plugged into your computer's USB port(4) Remove all previous Kinect device drivers, and if you have previously used Kinect, you can see if there is a Kinect-related driver in the Control Panel. (5) If you have previously installed an older version of the SDK, then the new version of the SDK will automatically overwrite the old version in the original directory.
after confirming the completion, double-click Install Kinect SDK 1.8, click Agree Agreement, install, installation complete, as shown in. after the installation is complete we need to download the Developer toolkit to download developer Toolkit 1.8, so let's get him to download it and keep busy. If you close this page also does not matter, attach the official Microsoft Download website:http://www.microsoft.com/en-us/download/details.aspx?id=40276
If you think Microsoft's link is not fast enough to download, I share a copy on the WebDeveloper Toolkit 1.8:Http://pan.baidu.com/s/1qWNrVD6
after the installation we need to see what's going on in our computer. Right-click on the computer, select Properties, go to the Control Panel page, uninstall the program interface, and see what the Kinect SDK has installed for us.
Let's take a look at the Kinect for Windows runtime is what the general consumer needs to install, that is, if you do not develop, you can install only one runtime, But when we do development, installing the SDK will automatically install the runtime for us. drivers is the Kinect-related driver. and the longest name of that thing, Kinect for Windows Speech recognition Language Pack (en-us), is the English speech recognition suite.
then we need to know the installation directory of the SDK, which is installed in the default directory:C:\Program Files\Microsoft sdks\kinect\v1.8.
In addition, the Kinect SDK installs an environment variable called Kinectsdk10_dir, which points to the path of the Kinect SDK for use by Visual Studio. Let's see if this variable is set to complete. Generally speaking, it is not wrong, if not set up for us, it is necessary for us to add.
3. Connect KinectThe exciting time is coming! First come up with your own Kinect, no. It's the school Kinect ... Plug the Kinect into the USB port and the system will automatically check the latest drivers on the network. After the driver installation is complete, you will see the green indicator light on, which is the first place to confirm.
Next we'll look at the Kinect-related drivers in Device Manager--computer, right-click, properties, Device Manager. If you find a device in four places, there's no problem with the second place to confirm.
4. Experience Kinectbelow we start to experience Kinect, we need to download Openni 2.x version of the SDK, many people may not have heard of this name at first, I chose this subject before the same, openni means open Natural Interaction, That is, the open natural way of interaction, download URL:Http://www.structure.io/opennionly 8 trillion more than I will not pass the network disk. You need to choose your own X86 or X64 version when downloading. I downloaded the 2.2 version, downloaded after the decompression installed to a place I find later. After installation go to the Start menu, locate the Openni that you just installed, click Niviewer or Simpleviewer to execute the Openni 2.x built-in program. Simpleviewer is located in Samples directory, Niviewer is located in Tools.
First say the operation, sampleviewer nothing good operation, Niviewer, ESC launch, right-click Pause screen, F switch window or full screen, left click to select the screen you want to see.
Attached here are two viewer different running results: Sampleviewer
Niviewer (sorry, long a bit sorry audience, consciously coding)
5, installation developer Toolkit 1.8in front of the toolkit 1.8 do not forget Ah, double-click to run, just like the SDK installed. after the installation is complete, you can find developer Toolkit browser and Kinect Studio from the Start menu. the Ftsdk_dir and Kinect_toolkit_dir are automatically added to the system variables. The default installation directory for Developer Toolkit 1.8 is tied to Kinect.
after installing the Developer Toolkit, our development environment is already basic configuration completed. Please use 2.0 SDK's friends to note that the 2.0 version and previous version of the environment configuration is not the same, so this article you can only refer to not mechanically.
2014.3.19 18:21by Mr.losers
Kinect Learning notes Three Kinect development environment configuration detailed