Microsoft recently released the latest version of the Kinect SDK, which can implement real-time Kinect fusion and provide rich gesture interaction functions, making it increasingly attractive to somatosensory interaction developers. Openni 2.0 and later versions are also converted to Microsoft's official Kinect driver, which also shows the general trend of the integration of the Kinect driver. However, most of the current Kinect DevelopmentProgramOr an old version based on openni 1. *. It takes a lot of effort to migrate to openni 2.0. Here we provide a method for coexistence of openni and the Kinect SDK and the ability to manually switch the driver to meet your needs for somatosensory development on the two platforms:
Note: The following operations are based on Windows 7.
1. Install the driver
1. Assume that you have installed openni 1.
If not, download and install from the following link:
1.1 openni and Nite: http://www.openni.org/openni-sdk/openni-sdk-history-2/#.UWJ83YOqaSo
1.2 sensorkinect: https://github.com/avin2/SensorKinect (Be sure to match the openni Version)
2. Uninstall the primesense driver. Note that openni does not need to be uninstalled here.
Open "Device Manager", expand the "primesense" list, and uninstall the Kinect audio, camera, and motor in sequence. Check "delete driver software for this device ".
3. Install Microsoft's official Kinect DRIVER: http://www.microsoft.com/en-us/kinectforwindows/develop/developer-downloads.aspx (including SDK and developer Toolkit)
After that, you can see the Kinect for Windows
2. Switch the driver 1. switch from the Kinect for Windows Driver to the primesense driver
Because we generally only need to use the camera of Kinect in openni development, and some openni of audio and motor do not have the corresponding functions. Therefore, when switching the driver, you only need to switch the camera part.
1.1 update the driver. Expand the "Kinect for Windows" list in "Device Manager", right-click "Kinect for Windows camera", and select "Update driver software"
1.2 Select Browse computer to find driver software"
1.3 because sensorkinect does not have an officially certified digital signature, you cannot directly browse the Computer Driver above to update the driver. Click "select from computer device driver list" below ":
1.4 then select "Install from disk"
1.5 click "Browse" and select your primesense driver installation directory. The default value is "C: \ Program Files \ primesense \ sensorkinect \ driver ". Select the INF file and click "OK ".
1.6 then you will see the model of the Kinect camera, and the prompt "this driver has not been digitally signed", it does not matter. Click "Next" to update the driver.
1.7 if a security prompt is displayed, select "always install the driver software ".
After 1.8, you can see the Kinect camera in the Device Manager. However, it should show primesense, but here I show the Kinect for Windows.
2. Switch from primesense driver to Kinect for Windows Driver
2.1 similarly, in the Device Manager, right-click "Kinect camera" and select "Update driver software ".
2.2 Because Kinect for Windows is the official driver of Microsoft, you can directly select "automatically search for updated driver software". The system will automatically install the Kinect for Windows Driver.
Note that you can disable the system online search driver to speed up the process. Specifically, first open the control panel-hardware and sound-devices and printers, click the prompt bar at the top of the window, select "open device installation settings", and then select "never install from ......" :
2.3 now you have successfully switched back to Kinect for Windows camera.