what is touchlib for? 
Posted: 30 December 2008 04:48 AM   [ Ignore ]
Rank
Joined  2008-12-29
Total Posts:  17
New Member

Hey GEEKS!!!
i m a new user to this and i have taken the multi-touch as my final year project in my college.
i m clear from hardware side, what i dont know is how to handle the software side, m totally blank from software side. I will be thankful to you if u guys provide me detail guidelines for coding and applications etc. i know only JAVA and C++. thanks in advance.

 Signature 

30 x 40cm FTIR

Profile
 
 
Posted: 30 December 2008 11:26 AM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRankRank
Joined  2008-06-09
Total Posts:  905
Moderator

Hi b0111y,
Touchlib is a blob-tracking application. It takes the raw feed from the webcam and by applying filters, produces clean blobs. It then outputs this blob data in TUIO format (see this thread for more info: http://nuigroup.com/forums/viewthread/1495/), which can be relayed to flash applications using OSC/FLOSC - see that thread I linked to for information on how/why this is necessary.

Once the blobs have been tracked and relayed via TUIO, you can write applications that the blobs can interact with - this can be done in many languages; AS3, C++, C#, and python are 4 popular ones to use, and have some level of documentation/frameworks that you can use. I guess you want to use C++, since you already know it - unless you’re open to trying out a new language.

See this thread for info on a touchlib helloworld in c++: http://nuigroup.com/forums/viewthread/1380/ . Note that C++ apps currently only work with touchlib, not tBeta (the new and improved cross-platform blob tracker, http://tbeta.nuigroup.com) .So if you develop your apps in C++, they won’t be compatible with tBeta, which most people are using, especially those on mac and linux.

if you’re good with C++ and want to go with that, then use that thread to get started - but if you’d like to try other apps, let me know, I can give you some more starter links.

hope this helps,
rbedi100

 Signature 

My Multi Touch Blog
Join us on NUI Chat !
Read Multi-Touch Technologies Book!

Profile
 
 
Posted: 31 December 2008 03:12 AM   [ Ignore ]   [ # 2 ]
Rank
Joined  2008-12-29
Total Posts:  17
New Member

hey rbedi, thnx very much for ur kind help. M going vth c++ only, and if possible i ll try AS3. one more query is that i m not able to find those cv.lib,cvcam.lib,etc library files in my C++ kit, and anywhere else, if u knw or if u have thn plz forward me those files, or just gv me the links. From software side wot i want to develop is a small demo kind of application which manipulates the microsoft win xp version, the basic functions like start menu, minimize,maximize,etc. i want ur help in the devlpmnt of ths s/w, how to start, wot to use, in short the clear-cut idea about this...thnx in advnce

 Signature 

30 x 40cm FTIR

Profile
 
 
Posted: 31 December 2008 03:27 AM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

those libs are openCv.

If you’re compiling yourself, you can follow the guide on http://www.multigesture.net/articles/

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 31 December 2008 05:51 PM   [ Ignore ]   [ # 4 ]
Avatar
RankRankRankRank
Joined  2008-06-09
Total Posts:  905
Moderator

Ok, great!

Have you looked at the pre-existing mousedrivers yet? They actually accomplish of what you wanted to do - it essentially replaces your mouse with your finger - but its all single-touch. There is a TUIO based mousedriver that works with tBeta or Touchlib, available here: http://nuigroup.com/forums/viewthread/3447/ - check it out and see if it does what you want. I don’t believe the source has been released yet (or if it will be), so you can’t really make any modifications.

Here’s a only touchlib-compatible (AFAIK) open-source mousedriver, that has to be compiled w/ Touchlib: http://nuigroup.com/forums/viewthread/2465/P15/ .

rbedi100

 Signature 

My Multi Touch Blog
Join us on NUI Chat !
Read Multi-Touch Technologies Book!

Profile