Tuesday, 18 March 2014

Kinect with Matlab - (1)

I. Demo:

http://www.mathworks.co.uk/videos/using-kinect-for-windows-with-matlab-77799.html

II. Introduction:

http://www.mathworks.co.uk/hardware-support/kinect-windows.html 

http://www.timzaman.com/?p=504

http://labrigger.com/blog/2013/06/07/matlab-2013a-natively-supports-kinect/

III. Tutorial of setup:

http://www.mathworks.co.uk/help/imaq/installing-the-kinect-for-windows-runtime.html

IV. Tutorial of using Matlab to communicate with Kinect:

http://www.mathworks.co.uk/help/imaq/examples/using-the-kinect-r-for-windows-r-from-image-acquisition-toolbox-tm.html

I have installed Matlab 2013b, and installed the 'Kinect SDK for Matlab' via Adds-on. I follow the instruction within the upper link, which gives a simple process to interact with Kinect in a basic way.  Here is the preliminary results of testing:

This picture shows that Matlab is able to recognize Kinect.

The last 2 pictures show that we are setting to activate the color camera & depth camera though manual way instead of letting it being triggered immediately. The programme will pre-record about 100 frames in order to compensate the latency of detection.


It is just a testing. I found some information that Microsoft Kinect SDK can support the latest version of Matlab as an additional library. The 'PnP 2D-3D mapping algorithm' provided both codes in Matlab and C++. Just wanna try whether it is possible to build up our project fully based on Matlab platform or not. So far, I can generate a color image from Kinect, but not sure about the depth and color information are also recorded.

-------

Memo:

1. Old version of Kinect example:
     http://www.javaforge.com/wiki/102821
    。Trying this code first, this is a code without integrate Kinect application & functions into Matlab
         library. Let's see how is the speed and result. 

    。After this, I will uninstall my current Matlab version (2012a) and re-install in 2013b

2. Computer Vision toolbox for Matlab:
    。http://www.mathworks.co.uk/products/computer-vision/
    。http://www.mathworks.co.uk/products/computer-vision/description4.html

No comments:

Post a Comment