Use the openni driver to play with an empty touch

Source: Internet
Author: User

In the previous blog post, we used Kinect to play with an empty touch. At that time, we used the clnuiplatform driver. Recently, more and more people are turning to the openni driver. So today, we will take some time to change it, so that openni students can also use the following software to play with an empty touch. It is worth noting that after the openni driver is used, the frame rate of CCV can reach 70 +... Of course, there is water in it, but it is much faster than the previous 10 frames (of course, when we used clnuiplatform to drive, the frame rate of more than 10 frames is not all weird, my program also has a problem ).

1) install the driver (I have provided download for all the files mentioned below. Please read it down with patience)
The method for installing the driver is basically learned from this blog post. For your convenience, the driver installation process is repeated here.

1> Uninstall all old drivers that have been installed before. When detaching a program, I first go to the Device Manager and right-click "detach" on the original device, and then uninstall the program in the Add/delete program.

2> install openni;

3> install sensor;

4> connect to the PC. If the driver is successfully installed, you can view the following icon in the Device Manager:

(If the driver is not successfully installed, unplug it and try again)

Note: The Xbox Nui audio driver cannot be used yet. Therefore, it cannot be recognized that the Xbox Nui audio is normal.

5> install Nite;
After installation is completeRestart your computer.

NOTE 2: Because the absolute path is used for the include header file and Lib file of my project file, install the above drivers in the default path, which should be under c: \ Program Files. If you change the installation path, the path in the following project file must be changed accordingly.

2) After you plug in the Kinect, run the Community core vision.exe provided by me, under apps \ addonsexamples \ vs2008 \ bin.

 

If you want to compile the source code on your own, note the following:

1) patch SP1 in vs2008
2) set the working directory of the project file to Bin (in vs2008, choose Project> Properties> Configuration Properties> debugging> working directory and set this to bin)
3) After CCV runs successfully, Press ESC to exit.

All the files mentioned above, including drivers, source code, and installation instructions, can be downloaded here.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.