2 of 9
2
CsTI - CSharp Touchlib Interface
Posted: 23 June 2007 03:00 AM   [ Ignore ]   [ # 16 ]
Sr. Member
RankRankRank
Total Posts:  317
Joined  2007-03-13

i’ll quickly fix it.

 Signature 

my multitouch blog: http://www.whitespaced.co.za/
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
Posted: 23 June 2007 05:14 AM   [ Ignore ]   [ # 17 ]
Sr. Member
RankRankRank
Total Posts:  317
Joined  2007-03-13

ok, here is the updated version that works with rev47 of the touchlib bins.

CsTI_beta1_47.zip = for rev47 bins
CsTI_beta1.zip = for pre-rev47 bins

i’ll follow that naming for now.

new: you now get all the touchdata from touchlib in your c# event handlers.

*if your having problems following the instructions to add the reference or so, check the source files*

To get it working with rev47 touchlib bins:

get the bins
make sure you can run configapp.exe
(if not download and install: http://www.lauw.biz/multitouch/tools/vc2k5_sp1_x86_redist.zip)

that should fix it (thanks falcon)

now copy the following files from your previous touchlib bins folder to the new one:
cv100.dll
cvaux100.dll
cvcam100.dll
cxcore100.dll
cxts001.dll
highgui100.dll
libguide40.dll
ml100.dll

now the configapp should work.

now drop the new CsTI files into the directory with the new touchlib bins and files.
again, check the readme for instructions on using it

there you go

File Attachments
CsTI_beta1_47.zip  (File Size: 44KB - Downloads: 335)
 Signature 

my multitouch blog: http://www.whitespaced.co.za/
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
Posted: 23 June 2007 06:18 AM   [ Ignore ]   [ # 18 ]
Administrator
RankRank
Total Posts:  114
Joined  2006-11-09

Thanks Donovan. I still haven’t checked it out, but I will soon.

Profile
 
 
Posted: 24 June 2007 09:21 AM   [ Ignore ]   [ # 19 ]
New Member
Rank
Total Posts:  21
Joined  2007-06-05

Thnaks Donovan. Any of you know how to use the touchlibrary and the reacTIVision at the same time. Because the camera appear t work only with one of the application at one time.

Thanks a lot !!!

Profile
 
 
Posted: 24 June 2007 09:53 AM   [ Ignore ]   [ # 20 ]
Sr. Member
RankRankRank
Total Posts:  317
Joined  2007-03-13

i suspect the camera drivers only allows one instance of the feed to be created. don’t know if there is a way of slitting the basic feed into multiple feeds. any specific reason you want to use both at the same time? ( i suggest creating a topic under general software discussions so that more people can see the topic and be of help)

 Signature 

my multitouch blog: http://www.whitespaced.co.za/
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
Posted: 24 June 2007 10:16 AM   [ Ignore ]   [ # 21 ]
New Member
Rank
Total Posts:  21
Joined  2007-06-05

Thank you Donovan. I want to detect fingers with touchlib and fiducials with reacTVision.

Profile
 
 
Posted: 24 June 2007 10:26 AM   [ Ignore ]   [ # 22 ]
Sr. Member
RankRankRank
Total Posts:  317
Joined  2007-03-13

if i’m not mistaken,whitenoiz is working on fiducial tracking for touchlib.

 Signature 

my multitouch blog: http://www.whitespaced.co.za/
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
Posted: 24 June 2007 01:45 PM   [ Ignore ]   [ # 23 ]
Administrator
RankRank
Total Posts:  114
Joined  2006-11-09

yeah, fiducials are already kinda working in touchlib (there needs to be some fixes and it needs to be added to the OSC app). I don’t think it’s possible to use both libraries (touchlib and reactivision) at the same time. Only one app can use the camera at once.

-Dave

Profile
 
 
Posted: 24 June 2007 04:11 PM   [ Ignore ]   [ # 24 ]
Jr. Member
RankRank
Total Posts:  219
Joined  2007-03-23

in the long term, it will be better to do finger and fid tracking in one application.  but you can try using two cameras in one computer (having dual processor is your best bet) and send one camera to touchlib and one to reactivision.

i havent tried this myself.  but i am using two cameras in one computer to do tracking with success (the cameras are stiched so i have a larger viewing area).

you can test it out in vvvv since you can do blobtracking and reactivision fid tracking in one patch.  so two cameras, two video chains in vvvv, then spit out the results through osc....

btw: some ppl experienced problems using two cameras of the same model in one computer.  apparently some machines will only assign one driver per camera, so if you have two webcams of different models that use different drivers, then you might not hit this problem

-n

Profile
 
 
Posted: 25 June 2007 09:41 AM   [ Ignore ]   [ # 25 ]
New Member
Rank
Total Posts:  21
Joined  2007-06-05

Ok. I’ll use the touchlib for fiducials. Are like reactivision default fiducials model?
Thanks a lot !!

Profile
 
 
Posted: 25 June 2007 10:50 AM   [ Ignore ]   [ # 26 ]
New Member
Rank
Total Posts:  21
Joined  2007-06-05

Hello, in touchlib the Feducial detection is using the tagID, isn’t it? Am I correct?

Thanks a lot !!

Profile
 
 
Posted: 25 June 2007 12:02 PM   [ Ignore ]   [ # 27 ]
Administrator
RankRank
Total Posts:  185
Joined  2007-06-12

You can download a software camera driver that will split a video feed (even a local video file) into multiple streams for multiple applications.  Check Google.

Profile
 
 
Posted: 25 June 2007 03:13 PM   [ Ignore ]   [ # 28 ]
New Member
Rank
Total Posts:  21
Joined  2007-06-05

Ok. Thanks a lot !

Profile
 
 
Posted: 25 June 2007 06:04 PM   [ Ignore ]   [ # 29 ]
Sr. Member
RankRankRank
Total Posts:  317
Joined  2007-03-13

it seems that for me this csti project was a minor part in something bigger that i want to do. it seems the best way to create a multitouch-capable wpf application is to create custom controls. so i’m going to start creating the basic controls to see how it works. and post anything i get working here. eventually i want to have a ‘framework’ like library containing touchable objects for .net development, while also making it easy to extend if you need a new control.

as for fiducials. i’ll add it as soon as i get a better understanding of how it’s detected and so. eventually i want to write the ‘framework library’ in such a way that you can specify your own fiducial models (application specific models), add it to the app, and it will be tracked - although at the moment i have no idea how i will do that - but this is all a pretty long term goal - by long term i mean about a month to two months.

but this will greatly benefit anyone that would like to write a .net multitouch app quickly as everything will already be at their disposal.

 Signature 

my multitouch blog: http://www.whitespaced.co.za/
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
Posted: 10 September 2007 04:23 PM   [ Ignore ]   [ # 30 ]
Sr. Member
RankRankRank
Total Posts:  317
Joined  2007-03-13

here are the files for touchlib beta 1. just drop them into your touchlib directory (where configapp and so is). add a reference in your .NET application to CsTI.dll and have a look at the Program.cs file included in the zip…

File Attachments
CsTI-touchlib_beta1.zip  (File Size: 33KB - Downloads: 288)
 Signature 

my multitouch blog: http://www.whitespaced.co.za/
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
   
2 of 9
2