3 of 5
3
Multitouch on a Mac
Posted: 22 October 2007 06:15 AM   [ Ignore ]   [ # 31 ]
New Member
Rank
Total Posts:  22
Joined  2007-10-03

Hello people!

In an attempt to use the portVideo src I encountered this error:

/usr/bin/ld: warning -F: directory name (../Frameworks) does not exist
/usr/bin/ld: Undefined symbols:
_SFont_FreeFont
_SFont_InitDefaultFont
_SFont_TextHeight
_SFont_TextWidth
_SFont_Write
_camera_rect
_getCamera

managed to solve about six other errors but this one still remains.

If anyone has a clue could you fill me in.

Muchas Gracias

Profile
 
 
Posted: 22 October 2007 10:51 AM   [ Ignore ]   [ # 32 ]
New Member
Rank
Total Posts:  86
Joined  2007-10-22
Davman - 16 October 2007 08:34 PM

Gave that a go, and it seems that my Phillips cam basically isn’t working in OSX. Macam can just about do it, but only at 5fps and the quality is awful.

If you’re talking about the SPC900NC, it works for me with Macam at about 15fps at 640x480 (can be more with lower resolutions). It’s impossible to get more out of it due to bandwidth issues with USB 1.1 (that is, Philips not revealing their proprietary compression codec, so Macam has to use uncompressed mode). Image quality is… well, “OK”, however I had some strange problems (coloured image artifacts) with old PowerMacs, but those seemed to be related to some USB hardware bug.
Anyway, there comes a little app with the Macam driver that lets you set up most of your camera’s settings. I guess your framerate is set to 5 fps there. Notice that you have to save your settings before closing the app.

By the way: Hi, I’m new here. Been having an eye (or two, most of the time) on this forum, and finally decided to enter as I thought I could help when I read the above. smile

Profile
 
 
Posted: 22 October 2007 03:20 PM   [ Ignore ]   [ # 33 ]
New Member
Rank
Total Posts:  1
Joined  2007-10-22

I bought IOXperts driver and it works very nicely with Philips SPC 900NC. I can access it through Processing.

And, I’m also new here. wink

Profile
 
 
Posted: 22 October 2007 03:59 PM   [ Ignore ]   [ # 34 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1295
Joined  2007-04-08

Welcome the both of you =) I hope you find NUIGroup useful! Glad to have you here.

P.S. - That’s a great name “ElkMonster”

 Signature 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
Posted: 22 October 2007 10:42 PM   [ Ignore ]   [ # 35 ]
New Member
Rank
Total Posts:  2
Joined  2007-10-20

So.. please some help here, how can get this work on Mac? After configure:

../configure CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"

I just can get :

checking whether the C++ compiler works… configure: error: cannot run C++ compiled programs.

and make or make install not go any further…

Anyone???

Thanks!

ai

Profile
 
 
Posted: 23 October 2007 05:23 AM   [ Ignore ]   [ # 36 ]
Jr. Member
Avatar
RankRank
Total Posts:  194
Joined  2007-05-05

has anyone tried libavg?
Its a software used by the german c-base group for their table.
Its opensource, optimized for DI setups and can even recognize the hand contur (hovering above the surface).
And it must be fast, since they are using a fireflyMV cam, which does 640x480 @ 60fps. I got the same cam,
but touchlib is just tooo slow.
I tried installing libavg it, but I really didin´t get very far with it. Mainly becuase I really
can´t code worth shit smile Maybe someone could check it out, that has more coding experience.. since I would really like
to have a mac tracker, so I don´t have to use bootcamp all the time. Everthing seems to be there already…

Link: http://www.libavg.de/
Nice Guide as well: https://www.libavg.de/wiki/index.php/Building_a_MultiTouch_Console

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
Posted: 23 October 2007 08:55 AM   [ Ignore ]   [ # 37 ]
New Member
Rank
Total Posts:  22
Joined  2007-10-03

Tim,

ditto!!!

I just found this wiki ( https://www.libavg.de/wiki/index.php/Main_Page ) in case you haven’t already visited.

Looks promising.

Profile
 
 
Posted: 25 October 2007 04:56 PM   [ Ignore ]   [ # 38 ]
New Member
Rank
Total Posts:  12
Joined  2007-10-25

Hi, this is Uli from the MTC group finally finding the time to show up here wink

Tim - what kind of issues were you having with libavg? On a mac, you should be able to install libavg by just downloading the package and clicking through the installer…

Any other questions re: libavg or the MTC: feel free to ask.

Profile
 
 
Posted: 25 October 2007 06:57 PM   [ Ignore ]   [ # 39 ]
New Member
Rank
Total Posts:  22
Joined  2007-10-03
coder - 25 October 2007 04:56 PM

Hi, this is Uli from the MTC group finally finding the time to show up here wink

Tim - what kind of issues were you having with libavg? On a mac, you should be able to install libavg by just downloading the package and clicking through the installer…

Any other questions re: libavg or the MTC: feel free to ask.

Hallo Uli!

I have installed libavg on my MacBook Pro!

now what?

how do you go about testing the tracking and so on?

Thanks.

Profile
 
 
Posted: 25 October 2007 07:57 PM   [ Ignore ]   [ # 40 ]
New Member
Rank
Total Posts:  28
Joined  2007-10-22

Just something I found on the web.

Instead of trying to mess with intel’s OpenCV I found a custom Mac version.

http://www.lestang.org/article45.html

EDIT:

Even better!

http://opencv.darwinports.com/

Read the stuff at the bottom. Keeps everything REALLY simple.

 Signature 

Decided against Mac Pro. Instead…
Intel Core 2 Quad 3.0ghz
Two nVIDIA 8800 Ultra 786mb GFX Cards
8gb Corsair SLI 1066mhz Memory
Ageia PhysX Card
Soundblaster X-Fi Card
Two 500gb 7200rpm Hard Drives
Blu-Ray and HD DVD Drives

Profile
 
 
Posted: 26 October 2007 01:40 AM   [ Ignore ]   [ # 41 ]
Jr. Member
Avatar
RankRank
Total Posts:  194
Joined  2007-05-05

Hi Ulli,

I really saw libavg a while ago, and then just strated using touchlib, mainly bevause I was using a FTIR setup.
Anyway, I really wanted to check out libavg again, mainly because I switched to DI and I just got the nice
firefly cam now. Touchlib doesn´t seem to handle the res and framrate, so I was looking for alternatives.
And mac would be great as well....

Now to my questions..
so I installed libavg, and I really have no idea what to do now. I was looking for a simple tracker, that sends
data via osc to my flash clinet software. Is something like this even possible with libavg? Just tracking? Or do
you have to use libavg for the client side as well? I thought that loop arena used processing as a client, while libavg did
the tracking? If so, how did you send the data to processing?

It would be nice if you elaborate a little on libavg, because it sounds really nice for me as a mac user, and also my
di setup. I am basically looking for a mac compatible and fast tracking solution to replace touchlib…

thanks

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
Posted: 26 October 2007 02:39 PM   [ Ignore ]   [ # 42 ]
New Member
Rank
Total Posts:  12
Joined  2007-10-25
Tim Roth - 26 October 2007 01:40 AM

Hi Ulli,
so I installed libavg, and I really have no idea what to do now. I was looking for a simple tracker, that sends
data via osc to my flash clinet software. Is something like this even possible with libavg? Just tracking? Or do
you have to use libavg for the client side as well? I thought that loop arena used processing as a client, while libavg did
the tracking? If so, how did you send the data to processing?

It would be nice if you elaborate a little on libavg, because it sounds really nice for me as a mac user, and also my
di setup. I am basically looking for a mac compatible and fast tracking solution to replace touchlib…

thanks

libavg is meant to handle the client side as well, but there’s a small python module that will turn the libavg events into OSC messages. Then you can connect anything that understands OpenSoundControl. The scripts are available through this subversion url:

https://www.libavg.de/svn/trunk/avg_media/mtc/remote/

Starting remote.py brings up a screen that shows the fingers and hands detected. There’s a document here:

https://www.libavg.de/wiki/index.php/Tracker_Setup

that describes how to set up the tracker. The ip address and port to send the osc messages to are hardcoded in remote.py, so you’ll have to change them in the code.

We’ve had libavg running alongside a processing applications at 60 Hz on a mac mini. The tracking takes up one of the processor cores, so you have the second core left to do graphics.

I’ve meant to clean this part up for a while, particularly since we also have a cool calibration routine that’s thoughtfully hidden in one of the demo applications (https://www.libavg.de/svn/trunk/avg_media/mtc/videochooser2) . I’ll see what I can do about fixing that…

Profile
 
 
Posted: 28 October 2007 07:20 AM   [ Ignore ]   [ # 43 ]
New Member
Rank
Total Posts:  12
Joined  2007-10-25

Ok - I’ve improved remote.py a bit and put up some instructions at https://www.libavg.de/wiki/index.php/Using_libavg_as_a_Tracking_Library.

Profile
 
 
Posted: 29 October 2007 01:53 AM   [ Ignore ]   [ # 44 ]
Jr. Member
Avatar
RankRank
Total Posts:  194
Joined  2007-05-05

hi coder,

thanks for the info, i will check everthing out, as soon as i return from vacation. Sounds very promising…

tim

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
Posted: 30 October 2007 12:53 AM   [ Ignore ]   [ # 45 ]
New Member
Rank
Total Posts:  6
Joined  2007-10-02

hello!

“libavg” can use the USB Webcam?

 Signature 

recotana
http://recotana.sakura.ne.jp/recotanablog/

Profile
 
 
   
3 of 5
3
 
‹‹ filters      Multitouch Card Games ››