[GEM-dev] videoKINECT plugin for pix_video

Hans-Christoph Steiner hans at at.or.at
Wed Mar 23 17:45:04 CET 2011


I got it building on Mac OS X with a couple minor changes to the  
makefile, which I attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.bz2
Type: application/x-bzip2
Size: 817 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20110323/4fdafbe6/attachment-0002.bin>
-------------- next part --------------



Here is my build, meant to be uncompress, then placed into the / 
Library/Pd folder, so it can find its included versions of libusb and  
libfreenect.  Please try it and let me know

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pix_freenect-macosx.tar.bz2
Type: application/x-bzip2
Size: 54808 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20110323/4fdafbe6/attachment-0003.bin>
-------------- next part --------------



.hc

On Mar 23, 2011, at 6:56 AM, Matthias Kronlachner wrote:

> i think my email from yesterday got lost somewhere... server  
> problems...
>
> Am 22.03.11 16:59, schrieb Matthias Kronlachner:
>> hi!
>>
>> it's compiling against gem 0.92.3 and Pd-extended now but i have  
>> this problem:
>>
>> load_object: Symbol "pix_freenect_setup" not found
>>
>> it's working fine under linux so i don't really know where the  
>> problem is... maybe you find it or you don't have the same  
>> problem...?
>>
>> matthias
>>
>> Am 22.03.11 15:47, schrieb Hans-Christoph Steiner:
>>>
>>> Thanks Matthias! I'm currently trying to build it for Mac OS X  
>>> now. Would it be possible to make it build against the version of  
>>> Gem that's included in Pd-extended 0.42.5? That's Gem 0.92.3.  
>>> Right now, it depends on the GemConfig.h header, which seems to be  
>>> recently added.
>>>
>>> Attached is my version of your Makefile which includes paths for  
>>> using libs from Fink.
>>>
>>>
>>> .hc
>>>
>>> On Mar 22, 2011, at 6:57 AM, Matthias Kronlachner wrote:
>>>
>>>> hey all,
>>>>
>>>> i ported the videoKINECT plugin to a "standalone" Gem object
>>>> pix_freenect.
>>>> i don't know if it is working under OSX now... its fine in linux
>>>>
>>>> i don't have 2 kinects but it should work with 2 kinects as well.
>>>> but still you can just choose between rgb OR depth output and not  
>>>> use
>>>> both outputs from one device...
>>>>
>>>> greets,
>>>> matthias
>>>>
>>>> Am Montag, den 21.03.2011, 17:28 -0400 schrieb sonia yuditskaya:
>>>>> Hi Matthias,
>>>>> if you know how to make a pix_kinect object please do!
>>>>> It turns out that on mac there is no driver support for cameras in
>>>>> pix_video, it is all just going through quicktime.
>>>>>
>>>>>
>>>>> I tried PD-extended's 20110101 to the latest version  
>>>>> (sporadically,
>>>>> not each one :) and the only cameras they would take on my mac  
>>>>> was the
>>>>> built in isight and the logitech 9000 which is incredibly well
>>>>> supported. So there is the conclusion.
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Sofy Yuditskaya
>>>>> ] yuditskaya.com [
>>>>>
>>>>>
>>>>> On Mon, Mar 21, 2011 at 4:40 PM, Matthias Kronlachner
>>>>> <m.kronlachner at student.tugraz.at> wrote:
>>>>> hi!
>>>>>
>>>>> it would not be too difficult to make a separate pix_kinect
>>>>> object that does not depend on pix_video,
>>>>> but i think it would be good if pix_video is working with the
>>>>> pluginsystem not only on linux and to keep the videoKINECT
>>>>> idea.
>>>>>
>>>>> beside:
>>>>> i found a nice smoothing trick for the depth image:
>>>>> http://www.morethantechnical.com/2011/03/05/neat-opencv-smoothing-trick-when-kineacking-kinect-hacking-w-code/
>>>>> a pix_opencv_inpaint object therefore would be good.
>>>>>
>>>>> in vvvv there is an object Kinect Multi Skeleton that outputs
>>>>> the depth image AND the skeleton data based on openNI.
>>>>> maybe a similar object for gem with the openNI framework would
>>>>> be more useful than the libfreenect approach. (because you
>>>>> can't connect 2 times to the kinect if you want sceleton and
>>>>> depth image)
>>>>> i'll have a look on that...
>>>>>
>>>>>
>>>>> matthias
>>>>>
>>>>> Am 21.03.11 21:52, schrieb Hans-Christoph Steiner:
>>>>>
>>>>>
>>>>>
>>>>> Hey Matthias,
>>>>>
>>>>> Seems our problems are bigger than this plugin. We
>>>>> are having trouble on getting pix_video working at all
>>>>> on both Mac OS X 10.5.8 and 10.6 with the latest Gem
>>>>> from svn. I'm using Pd-extended nightly 0.43-20110318
>>>>> and Sofy is using 0.43-20110119.
>>>>>
>>>>> .hc
>>>>>
>>>>> On Mar 21, 2011, at 3:30 PM, Matthias Kronlachner
>>>>> wrote:
>>>>>
>>>>> you tried it with the latest Gem from svn?
>>>>>
>>>>> the videoKINECT.so file seems to be not linked
>>>>> against libfreenect.
>>>>> i could not find where to include this in the
>>>>> configure/make system and entered it manually
>>>>> in the makefile - this should of course be
>>>>> corrected.
>>>>> but that cannot be the reason for the "no
>>>>> method for driver".
>>>>>
>>>>> Am 21.03.11 20:53, schrieb Hans-Christoph
>>>>> Steiner:
>>>>>
>>>>> I just built it for Mac OS X, but when
>>>>> I try the [driver( message, it says
>>>>> "no method for driver". I attached my
>>>>> binary, if anyone wants to try it.
>>>>>
>>>>> .hc
>>>>>
>>>>>
>>>>>
>>>>> On Mar 20, 2011, at 1:35 PM, Matthias
>>>>> Kronlachner wrote:
>>>>>
>>>>> hello,
>>>>>
>>>>> i am working on a videoKINECT
>>>>> plugin for pix_video.
>>>>> it depends on libfreenect.
>>>>> the current result can be
>>>>> found here:
>>>>>
>>>>> http://home.eduhi.at/just4fun/matzisoft/homepage/downloads/videoKINECT.tar.gz
>>>>>
>>>>> maybe somebody with experience
>>>>> in coding c++ will have a look
>>>>> at it and
>>>>> improve it?
>>>>>
>>>>> it's currently NOT possible to
>>>>> open 2 pix_video with the
>>>>> kinect plugin.
>>>>> you can choose between rgb or
>>>>> depth image.
>>>>>
>>>>> have a look at provided
>>>>> videoKINECT-help.pd
>>>>>
>>>>>
>>>>> matthias
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> GEM-dev mailing list
>>>>> GEM-dev at iem.at
>>>>> http://lists.puredata.info/listinfo/gem-dev
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------------
>>>>>
>>>>> 'You people have such restrictive
>>>>> dress for women,? she said, hobbling
>>>>> away in three inch heels and panty
>>>>> hose to finish out another pink-collar
>>>>> temp pool day. - ?Hijab Scene #2", by
>>>>> Mohja Kahf
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------------
>>>>>
>>>>> Man has survived hitherto because he was too ignorant
>>>>> to know how to realize his wishes. Now that he can
>>>>> realize them, he must either change them, or perish.
>>>>> -William Carlos Williams
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> GEM-dev mailing list
>>>>> GEM-dev at iem.at
>>>>> http://lists.puredata.info/listinfo/gem-dev
>>>>>
>>>>>
>>>>>
>>>>
>>>> <pix_freenect.tar.gz>
>>>
>>>
>>>
>>> ----------------------------------------------------------------------------
>>>
>>> ?El pueblo unido jam?s ser? vencido!
>>>
>>>
>>
>
> <pix_freenect_gem_0-92-3.zip>



----------------------------------------------------------------------------

Computer science is no more related to the computer than astronomy is  
related to the telescope.      -Edsger Dykstra




More information about the GEM-dev mailing list