SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Introduction
Playing Kinect games is a really great experience. Programming for Kinect is even greater!
Browsing the web, you can find many cool "hacks" (CLNUI, OpenKinect) which allow Kinect
be used by a PC rather than an XBOX. Via these hacks, we gain access to Kinect's cameras
(color and depth), LED, accelerometer and motor. Obtaining both the raw and the depth image, it
is easier to build Machine Vision applications. But the main problem remains: Kinect magic is its
software and the device simply cannot give us all those body-tracking algorithms by itself.

Fortunately, PrimeSense, the company behind Kinect, released OpenNI framework and NITE
middleware. This means that we can now have access to features such as real-time skeleton
tracking, gesture recognition, wave detection and much more!

OpenNI and NITE installation can be painful if not done properly. Let's do it step by step:

Step 0

Uninstall any previews drivers, such as CLNUI. Look at the end of this post if you want to see
how you can have multiple drivers installed.
Step 1

Download and install the latest stable or unstable OpenNI Binaries from OpenNI website.

Step 2

         Download Kinect Drivers and unzip




         .

         Run the precompiled SensorKinect-Win-OpenSource32-5.0.1.exe file from
         the“……..avin2-SensorKinect-28738dcBin” Directory

Drivers are now installed in your PC.

Step 3

Download and install the latest stable or unstable OpenNI Compliant Middleware Binaries
(NITE) from OpenNI website.

During installation, provide the following (free) PrimeSense key:
0KOIk2JeIBYClPWVnMoRKn5cdY4=
Step 5

         Plug in your Kinect device and connect its USB port with your PC.
         Wait until the driver software is found and applied.
         Navigate to the Device Manager (Control Panel). You should see something like the
         following:




Step 6

Copy the XML files from "avin2-SensorKinect-28738dcOpenNIData"into "c:Program
FilesOpenNI Data" (overwrite files)
Step 7

Navigate to C:Program FilesOpenNISamplesBinRelease (or C:Program Files
(x86)OpenNISamplesBinRelease) and try out the existing demo applications. Try the demos
found in C:Program FilesPrime SenseNITESamplesBinRelease (or C:Program Files
(x86)Prime SenseNITESamplesBinRelease), too. If they work properly, then you are done!
Congratulations!

Test #1: Run the NiViewer sample to make sure depth & image streams are
working.
Test #2: Run the OpenNI/NiUserTracker sample play with the skeleton. Don't
forget to start with the calibration pose! (Explained in the PDFs)
Test #3: Try the NITE/Sample-PointViewer sample for the hand tracking demo.




If they do not work, make sure that you have replaced the XML files I mentioned in step 5 with
the ones I provided you. If the demos still do not work, try installing the stable version of
OpenNI, middleware and hardware binaries. Personally, I have successfully installed OpenNI
and NITE (both stable and unstable releases) in a 32-bit desktop and a 64-bit laptop following
the methodology I described.

Step 8

You have successfully installed Kinect in your Windows PC! Read the documentation and
familiarize yourself with the OpenNI and NITE API.
Visual Studio User

Make sure you set the path for compilation,
go to Control PanelSystem and SecuritySystem->Advance system settings-> “advanced”
tab-> Environment Variables

under variable for “users” select “NEW…”

           1. Variable name :OPEN_NI_INCLUDE
           Variable value : C:Program Files (x86)OpenNIInclude

           2. Variable name :OPEN_NI_LIB
              Variable value :C:Program Files (x86)OpenNILib

           3. Variable name :PRIME_SENSOR_INCLUDE
              Variable value :C:Program Files (x86)Prime SenseNITEInclude

           4. Variable name :PRIME_SENSOR_LIB
              Variable value :C:Program Files (x86)Prime SenseNITELIB


Under system variable find “Path” click “edit..”
Make sure you have added the path under your Variable value ( this is my computer which 64-
bits, 32-bits users path might different)

C:Program FilesOpenNIbin64;
C:Program FilesPrimeSenseNITEbin64;
C:Program Files (x86)OpenNIbin;
C:Program Files (x86)PrimeSenseNITEbin;

Creating an empty project that uses OpenNIin Visual Studio
1. Open a new project or an existing one with which you want to use OpenNI.
2. In the Visual Studio menu, open the Project menu and choose Project properties.
3. In the C/C++ section, under the General node, select =>Additional Include Directories and
add "$(OPEN_NI_INCLUDE)". This is an environment variable that points to the location of the
OpenNIInclude directory. (The default location is: C:Program filesOpenNIInclude.)
4. In the Linker section, under the General node, select Additional Library Directories and add
"$(OPEN_NI_LIB)". This is an environment variable that points to the location of the OpenNI
include directory. (The default location is: C:Program filesOpenNILib.)
5. In the Linker section, under the Input node, select Additional Dependencies and add
OpenNI.lib.
6. If you wish to use an XML file to configure OpenNI, you can start from the basic XML file
that can be found in the OpenNI Data folder. (The default location is: C:Program
filesOpenNIData.) For further information about OpenNI xml scripts, see Xml Scripts.
7. Ensure that you add the Additional Include and Library directories to both your Release and
Debug configurations.
8. Your code files should include XnOpenNI.h if using the C interface, or XnCppWrapper.h if
using the C++ interface.



Installing Multiple Drivers

Here's how to achieve this:

       Open Device Manager
       Right click Kinect Camera under PrimeSensor.
       Select "Update driver software"
       Select "Browse my computer for driver software" and "Let me pick from a list of device
       drivers on my computer".
       Select the driver of your preference (e.g. CLNUI).
       You are done!

Weitere ähnliche Inhalte

Was ist angesagt?

Writing applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect SensorWriting applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect Sensor
phildenoncourt
 
Microsoft Kinect in Healthcare
Microsoft Kinect in HealthcareMicrosoft Kinect in Healthcare
Microsoft Kinect in Healthcare
GSW
 
Jancke kinect programming
Jancke kinect programmingJancke kinect programming
Jancke kinect programming
apocalypse-021
 

Was ist angesagt? (20)

Kinect
KinectKinect
Kinect
 
Writing applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect SensorWriting applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect Sensor
 
Kinect
KinectKinect
Kinect
 
Kinect
KinectKinect
Kinect
 
Kinect sensor
Kinect sensorKinect sensor
Kinect sensor
 
Introduction to Kinect v2
Introduction to Kinect v2Introduction to Kinect v2
Introduction to Kinect v2
 
Dev09 – la battaglia del touchless
Dev09 – la battaglia del touchlessDev09 – la battaglia del touchless
Dev09 – la battaglia del touchless
 
Intel RealSense Hands-on Lab - Rome
Intel RealSense Hands-on Lab - RomeIntel RealSense Hands-on Lab - Rome
Intel RealSense Hands-on Lab - Rome
 
Xbox 360 Kinect
Xbox 360 Kinect  Xbox 360 Kinect
Xbox 360 Kinect
 
Introduction to Google Project Tango and Intel® RealSense™
Introduction to Google Project Tango and Intel® RealSense™Introduction to Google Project Tango and Intel® RealSense™
Introduction to Google Project Tango and Intel® RealSense™
 
Microsoft Kinect in Healthcare
Microsoft Kinect in HealthcareMicrosoft Kinect in Healthcare
Microsoft Kinect in Healthcare
 
Programming with RealSense using .NET
Programming with RealSense using .NETProgramming with RealSense using .NET
Programming with RealSense using .NET
 
Using intel's real sense to create games with natural user interfaces justi...
Using intel's real sense to create games with natural user interfaces   justi...Using intel's real sense to create games with natural user interfaces   justi...
Using intel's real sense to create games with natural user interfaces justi...
 
Introduction to Kinect - Update v 1.8
Introduction to Kinect - Update v 1.8Introduction to Kinect - Update v 1.8
Introduction to Kinect - Update v 1.8
 
Jancke kinect programming
Jancke kinect programmingJancke kinect programming
Jancke kinect programming
 
Kinect
KinectKinect
Kinect
 
Augmented Reality with the Intel® RealSenseTM SDK and R200 Camera: User Exper...
Augmented Reality with the Intel® RealSenseTM SDK and R200 Camera: User Exper...Augmented Reality with the Intel® RealSenseTM SDK and R200 Camera: User Exper...
Augmented Reality with the Intel® RealSenseTM SDK and R200 Camera: User Exper...
 
Intel RealSense technology : Overview and demos
Intel RealSense technology : Overview and demosIntel RealSense technology : Overview and demos
Intel RealSense technology : Overview and demos
 
Augmented Reality with the Intel® RealSense™ SDK and R200 Camera
Augmented Reality with the Intel® RealSense™ SDK and R200 CameraAugmented Reality with the Intel® RealSense™ SDK and R200 Camera
Augmented Reality with the Intel® RealSense™ SDK and R200 Camera
 
Oculus rift
Oculus riftOculus rift
Oculus rift
 

Ähnlich wie Kinect installation guide

Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul divyanshu documentation  on Kinect and Motion TrackingVipul divyanshu documentation  on Kinect and Motion Tracking
Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul Divyanshu
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
cis247
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
sdjdskjd9097
 

Ähnlich wie Kinect installation guide (20)

Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul divyanshu documentation  on Kinect and Motion TrackingVipul divyanshu documentation  on Kinect and Motion Tracking
Vipul divyanshu documentation on Kinect and Motion Tracking
 
How to work with code blocks
How to work with code blocksHow to work with code blocks
How to work with code blocks
 
Eclipse IDE, 2019.09, Java Development
Eclipse IDE, 2019.09, Java Development Eclipse IDE, 2019.09, Java Development
Eclipse IDE, 2019.09, Java Development
 
You can now use PVS-Studio with Visual Studio absent; just give it the prepro...
You can now use PVS-Studio with Visual Studio absent; just give it the prepro...You can now use PVS-Studio with Visual Studio absent; just give it the prepro...
You can now use PVS-Studio with Visual Studio absent; just give it the prepro...
 
Akashdeepsinghjandu13
Akashdeepsinghjandu13Akashdeepsinghjandu13
Akashdeepsinghjandu13
 
Azure DevOps Extensions
Azure DevOps ExtensionsAzure DevOps Extensions
Azure DevOps Extensions
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdf
 
Drupal Continuous Integration with Jenkins - Deploy
Drupal Continuous Integration with Jenkins - DeployDrupal Continuous Integration with Jenkins - Deploy
Drupal Continuous Integration with Jenkins - Deploy
 
ID E's features
ID E's featuresID E's features
ID E's features
 
openGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptxopenGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptx
 
Qtp selenium Course Instructions & Installation Steps
Qtp selenium Course Instructions & Installation StepsQtp selenium Course Instructions & Installation Steps
Qtp selenium Course Instructions & Installation Steps
 
Get Starte with MicroPython ESP32
Get Starte with MicroPython ESP32Get Starte with MicroPython ESP32
Get Starte with MicroPython ESP32
 
Get Started with MicroPython ESP32
Get Started with MicroPython ESP32Get Started with MicroPython ESP32
Get Started with MicroPython ESP32
 
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTreeThe Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
 
Installation of PC-Lint and its using in Visual Studio 2005
Installation of PC-Lint and its using in Visual Studio 2005Installation of PC-Lint and its using in Visual Studio 2005
Installation of PC-Lint and its using in Visual Studio 2005
 
Opencv
OpencvOpencv
Opencv
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
 
Introduction to TensorFlow and OpenCV libraries
Introduction to TensorFlow and OpenCV librariesIntroduction to TensorFlow and OpenCV libraries
Introduction to TensorFlow and OpenCV libraries
 

Kürzlich hochgeladen

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

Kinect installation guide

  • 1.
  • 2. Introduction Playing Kinect games is a really great experience. Programming for Kinect is even greater! Browsing the web, you can find many cool "hacks" (CLNUI, OpenKinect) which allow Kinect be used by a PC rather than an XBOX. Via these hacks, we gain access to Kinect's cameras (color and depth), LED, accelerometer and motor. Obtaining both the raw and the depth image, it is easier to build Machine Vision applications. But the main problem remains: Kinect magic is its software and the device simply cannot give us all those body-tracking algorithms by itself. Fortunately, PrimeSense, the company behind Kinect, released OpenNI framework and NITE middleware. This means that we can now have access to features such as real-time skeleton tracking, gesture recognition, wave detection and much more! OpenNI and NITE installation can be painful if not done properly. Let's do it step by step: Step 0 Uninstall any previews drivers, such as CLNUI. Look at the end of this post if you want to see how you can have multiple drivers installed.
  • 3. Step 1 Download and install the latest stable or unstable OpenNI Binaries from OpenNI website. Step 2 Download Kinect Drivers and unzip . Run the precompiled SensorKinect-Win-OpenSource32-5.0.1.exe file from the“……..avin2-SensorKinect-28738dcBin” Directory Drivers are now installed in your PC. Step 3 Download and install the latest stable or unstable OpenNI Compliant Middleware Binaries (NITE) from OpenNI website. During installation, provide the following (free) PrimeSense key: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
  • 4. Step 5 Plug in your Kinect device and connect its USB port with your PC. Wait until the driver software is found and applied. Navigate to the Device Manager (Control Panel). You should see something like the following: Step 6 Copy the XML files from "avin2-SensorKinect-28738dcOpenNIData"into "c:Program FilesOpenNI Data" (overwrite files)
  • 5. Step 7 Navigate to C:Program FilesOpenNISamplesBinRelease (or C:Program Files (x86)OpenNISamplesBinRelease) and try out the existing demo applications. Try the demos found in C:Program FilesPrime SenseNITESamplesBinRelease (or C:Program Files (x86)Prime SenseNITESamplesBinRelease), too. If they work properly, then you are done! Congratulations! Test #1: Run the NiViewer sample to make sure depth & image streams are working. Test #2: Run the OpenNI/NiUserTracker sample play with the skeleton. Don't forget to start with the calibration pose! (Explained in the PDFs) Test #3: Try the NITE/Sample-PointViewer sample for the hand tracking demo. If they do not work, make sure that you have replaced the XML files I mentioned in step 5 with the ones I provided you. If the demos still do not work, try installing the stable version of OpenNI, middleware and hardware binaries. Personally, I have successfully installed OpenNI and NITE (both stable and unstable releases) in a 32-bit desktop and a 64-bit laptop following the methodology I described. Step 8 You have successfully installed Kinect in your Windows PC! Read the documentation and familiarize yourself with the OpenNI and NITE API.
  • 6. Visual Studio User Make sure you set the path for compilation, go to Control PanelSystem and SecuritySystem->Advance system settings-> “advanced” tab-> Environment Variables under variable for “users” select “NEW…” 1. Variable name :OPEN_NI_INCLUDE Variable value : C:Program Files (x86)OpenNIInclude 2. Variable name :OPEN_NI_LIB Variable value :C:Program Files (x86)OpenNILib 3. Variable name :PRIME_SENSOR_INCLUDE Variable value :C:Program Files (x86)Prime SenseNITEInclude 4. Variable name :PRIME_SENSOR_LIB Variable value :C:Program Files (x86)Prime SenseNITELIB Under system variable find “Path” click “edit..” Make sure you have added the path under your Variable value ( this is my computer which 64- bits, 32-bits users path might different) C:Program FilesOpenNIbin64; C:Program FilesPrimeSenseNITEbin64; C:Program Files (x86)OpenNIbin; C:Program Files (x86)PrimeSenseNITEbin; Creating an empty project that uses OpenNIin Visual Studio 1. Open a new project or an existing one with which you want to use OpenNI. 2. In the Visual Studio menu, open the Project menu and choose Project properties. 3. In the C/C++ section, under the General node, select =>Additional Include Directories and add "$(OPEN_NI_INCLUDE)". This is an environment variable that points to the location of the OpenNIInclude directory. (The default location is: C:Program filesOpenNIInclude.) 4. In the Linker section, under the General node, select Additional Library Directories and add "$(OPEN_NI_LIB)". This is an environment variable that points to the location of the OpenNI include directory. (The default location is: C:Program filesOpenNILib.) 5. In the Linker section, under the Input node, select Additional Dependencies and add OpenNI.lib. 6. If you wish to use an XML file to configure OpenNI, you can start from the basic XML file that can be found in the OpenNI Data folder. (The default location is: C:Program filesOpenNIData.) For further information about OpenNI xml scripts, see Xml Scripts. 7. Ensure that you add the Additional Include and Library directories to both your Release and Debug configurations.
  • 7. 8. Your code files should include XnOpenNI.h if using the C interface, or XnCppWrapper.h if using the C++ interface. Installing Multiple Drivers Here's how to achieve this: Open Device Manager Right click Kinect Camera under PrimeSensor. Select "Update driver software" Select "Browse my computer for driver software" and "Let me pick from a list of device drivers on my computer". Select the driver of your preference (e.g. CLNUI). You are done!