computer_vision_kinect_t1
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
computer_vision_kinect_t1 [2016/07/05 13:12] – created joaomatos | computer_vision_kinect_t1 [2016/07/14 14:13] (current) – joaomatos | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Installation Instructions ===== | ===== Installation Instructions ===== | ||
+ | |||
+ | | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Downloading Required Softwares ===== | ||
+ | |||
+ | .[[https:// | ||
+ | |||
+ | .[[http:// | ||
+ | |||
+ | .[[http:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Installing the Libraries using CMAKE ===== | ||
+ | |||
+ | 1) Install the Kinect SDK , OpenNI2.0 and Nite2.0 , accepting all default installation configurations. | ||
+ | |||
+ | 2) Go to your control panel and open the device manager. Check if when you connect the Kinect to your PC you can see the Kinect for Windows icon. | ||
+ | |||
+ | 2) Go to your computer > right click on the icon of your PC > properties > advanced system settings > environment | ||
+ | |||
+ | 3) Open your Visual Studio solution configured with the OpenCV (see the OpenCV installation tutorial ) . Right click in your project name on the solution explorer (right side ) and go to properties. | ||
+ | |||
+ | 4) Under C/C++ > GENERAL | ||
+ | |||
+ | 5) Under LINKER> GENERAL, add a new path to additional libraries directories . The path should be OpenNI2> | ||
+ | |||
+ | 6) Under LINKER > INPUT , add a library to additional dependencies . Add the OpenNI2.lib | ||
+ | |||
+ | 7) Include on your Visual Studio | ||
+ | |||
+ | 8) If you did all right , the OpenNI library can be used now. | ||
+ | |||
+ | 9) Try to run the commands: | ||
+ | |||
+ | < | ||
+ | |||
+ | openni:: | ||
+ | openni:: | ||
+ | auto ret = device.open(openni:: | ||
+ | if (ret != openni:: | ||
+ | throw std:: | ||
+ | } | ||
+ | |||
+ | //Opening Depth stream | ||
+ | openni:: | ||
+ | depthStream.create(device, | ||
+ | depthStream.start(); | ||
+ | |||
+ | </ | ||
+ | |||
+ | If you can compile this commands is because your OpenNI library is successfully installed. | ||
+ | |||
+ |
computer_vision_kinect_t1.1467749570.txt.gz · Last modified: by joaomatos