Rank: 161683 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Charles View all
Updated File Comments Rating
28 Mar 2012 Kinect Matlab Microsoft Kinect, OpenNI wrapper, Skeleton, Depth Author: Dirk-Jan Kroon

I managed to get the Kinect working on both my Mac and Windows now so thank you all for your aid.

However I have yet to work out a way to get the information I want from the Kinect into Matlab.

What I want is to be able to grab a set of x,y,z co-ordinates from the Kinect. At this point it doesn't matter for which body part. Hand tracker or skeleton model being the obvious options I have been trying to compile them in a way that allows a real time stream to an expanding variable...

However I am stumped and out of my depth. Any advice or help would be greatly apreshiated.

14 Dec 2011 Kinect Matlab Microsoft Kinect, OpenNI wrapper, Skeleton, Depth Author: Dirk-Jan Kroon

Hi all, I'm hoping you can help me.
I seem to have reached a problem that was addressed earlier by Joelle but fail to understand how he managed to overcome it.

I am running Matlab R2011b on a Mac OS X Lion.
I managed to get the Kinect drivers working, proven by being able to run the samples in the NITE and OpenNI folders, however when I try to run the compile_cpp_files code I get the following error.

/Applications/MATLAB_R2011b.app/bin/mex: line 305: gcc-4.2: command not found
-> g++-4.2 -c -I/Users/charlesbartlett/Documents/Kinect_Development/OpenNI-Bin-Dev-MacOSX-v1.4.0.2Include -I/Applications/MATLAB_R2011b.app/extern/include -I/Applications/MATLAB_R2011b.app/simulink/include -DMATLAB_MEX_FILE -fno-common -no-cpp-precomp -fexceptions -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -DMX_COMPAT_32 -O2 -DNDEBUG "mxNiChangeDepthViewPoint.cpp"

/Applications/MATLAB_R2011b.app/bin/mex: line 1285: g++-4.2: command not found

mex: compile of ' "mxNiChangeDepthViewPoint.cpp"' failed.

Error using mex (line 206)
Unable to complete successfully.

Error in compile_cpp_files (line 34)
mex('-v',['-L' OpenNiPathLib],'-lopenNI',['-I'

For the OpenNIPath I set it to the location I extracted the OpenNI to, so all seems well there. Thus I'm wondering if this is to do with it being a 64bit Matlab or Mac or both. But Ideally I would just like to get the skeleton example working nicely.

Many Thanks for any help you can give!!

Contact us