a very simple demo. adapted from CCV1.2, use AlexP’s CL NUI Platform driver, do threshold on the depth data. the rgb image is only for display
i’m sorry but in my country youtube and vimeo is blocked. so please visit http://v.youku.com/v_show/id_XMjM1MzE2MTY0.html to watch the video if you are interested.
attached is the relative codes.
1) install kinect’s driver
i’m using AlexP’s CL NUI Platform(version: CL-NUI-Platform-1.0.0.1121 (see the attachment below), it doesn’t work for the later version). After installation, run CLNUIDeviceTest.exe to see if kinect works correctly.
2) check out CCV from http://nuicode.svnrepository.com/svn/tbeta/trunk/tbeta/Windows
i’m using revision 210.
3) modify CCV following steps below:
3.1) put ofxKinectCLNUI under addons
3.2) put CLNUIDevice.dll under other\dlls
3.3) substitute ofxNCoreVision.h and ofxNCoreVision.cpp under addons\ofxNCore\src\Modules
3.4) substitute config.xml under apps\addonsExamples\VS2008\bin\data
3.5) substitute calibration.xml under apps\addonsExamples\VS2008\bin\data
3.6) substitute Community Core Vision.vcproj under apps\addonsExamples\VS2008
about the calibration, since we are doing kind of “air-touch”, i think it’s not necessary to do CCV’s original precise calibration point by point. so i manyally modified the calibration.xml, just map the four corners, i.e.
image screen
0,0 0,0
camWidth,0 1,0
camWidth,camHeight 1,1
0,camHeight 0,1
feedbacks and comments are welcome~
=======kinect-CCV with OpenNI driver========
since lots of people are using openni’s driver, below is the kinect-CCV with OpenNI’s driver.
1)install kinect driver
1.1)Uninstall all the old kinect drivers.
1.2)Install OpenNI: OpenNI-Bin-Win32-v1.0.0.25.exe download here:http://www.openni.org/downloadfiles/openni-binaries/21-stable
1.3)Install Sensor: SensorKinect-Win32-5.0.0.exe download here:http://dl.dbank.com/c059av7eg5
1.4)Install NITE:NITE-Win32-1.3.0.17.exe download here:http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/34-stable
CD-KEY: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
the following steps are almost the same like the one with CLNUIPlatform’s driver.
2) check out CCV from http://nuicode.svnrepository.com/svn/tbeta/trunk/tbeta/Windows
i’m using revision 210.
3) modify CCV following steps below:
3.1) put ofxKinectOpenNI under addons
3.2) substitute ofxNCoreVision.h and ofxNCoreVision.cpp under addons\ofxNCore\src\Modules
3.3) substitute config.xml under apps\addonsExamples\VS2008\bin\data
3.4) substitute calibration.xml under apps\addonsExamples\VS2008\bin\data
3.5) substitute Community Core Vision.vcproj under apps\addonsExamples\VS2008
the attached file “kinect_openni_touch.rar” contains all the necessary file(src and exe). it should work if you directly put the exe with CCV1.2
enjoy~~~
