Portable Multi-Touch Suitcase | Touchcase
Posted: 01 August 2008 10:18 AM   [ Ignore ]
New Member
Rank
Total Posts:  8
Joined  2008-08-01

Hi nuigroup,
this is actually my first post, because most of the time I was just browsing and reading in this forum. But now I’m happy to share some of my experiences and hope they are useful for someone.

This is what I used:
40 OSRAM SFH485P
8mm Acrylic
Mitsubishi PK20 Pocket Projector
Apple iSight
Knight Optical interference band-pass filter 880FIW12
Java / OpenCV
MacBook Pro

Disassembling the iSight and removing the IR-filter is very easy and the camera is cheaper and more common on ebay than the firefly. These links helped a lot:
http://www.flickr.com/photos/command-tab/sets/325726/
http://www.command-tab.com/2005/05/29/isight-inside/

I ordered my band-pass filter (£24.50) from this company (because exposed film simply sucked):
http://www.knightoptical.co.uk/
http://www.knightoptical.co.uk/acatalog/FiltersInterferenceband-passfiltersExtra-broadbandrange65-100nmbandwidth.htm

This library was used for the blob detection, the tracking I had to write myself:
http://www.ubaa.net/shared/processing/opencv/

First I tried the Microsoft Xbox live vision cam, and it took me a while to fix and recompile the opencv framework and the processing library so that it supported my external usb camera, but the results were not really usable. I had around 7fps and decided to invest into a firewire camera, which now gives me 30fps.

If some of you guys are interested in the portable solution, I can post the construction plans.

_Basti

Image Attachments
TouchCase2.jpg
Profile
 
 
Posted: 01 August 2008 10:40 AM   [ Ignore ]   [ # 1 ]
New Member
Avatar
Rank
Total Posts:  24
Joined  2008-07-12

This is incredible! Good job man, and thanks for the run down on your complete setup.

 Signature 
Profile
 
 
Posted: 01 August 2008 11:09 AM   [ Ignore ]   [ # 2 ]
Jr. Member
Avatar
RankRank
Total Posts:  108
Joined  2007-12-12
thoughtdiver - 01 August 2008 10:18 AM

If some of you guys are interested in the portable solution, I can post the construction plans.

Yes please!  Great job!  Was the IR filter painted on? - I didn’t see it at that FLickr link.

Oh yeah, please share your software with the community if humanly possible....please!  wink

 Signature 

http://multitouchproject.blogspot.com/

Profile
 
 
Posted: 01 August 2008 12:30 PM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  8
Joined  2008-08-01
soybomb - 01 August 2008 11:09 AM

Was the IR filter painted on?

No, it was just a piece of glass fitted in front of the chip. The camera is really easy to modify, you can disassemble and reassemble it completely without damaging it. The only annoying thing is the autofocus. But there is a small cable you can plug out when it is adjusted to the right distance - then it is holding still.

Profile
 
 
Posted: 01 August 2008 12:50 PM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  1512
Joined  2007-04-08

Hey thoughtdiver,

Nice job! I commented on your video the other day. =)

I’m sure the community would love to see your construction plans. Please share =)

Also, how does the pk20 do in different lighting situations especially since your box is all open?

 Signature 

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

Profile
 
 
Posted: 01 August 2008 01:17 PM   [ Ignore ]   [ # 5 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  400
Joined  2007-09-18

great job, the inspector Gadget’s suitcase !

we should open a foldable screen section ...

did you write the apps also with Processing ?

 Signature 

http://sassexperience.org

Profile
 
 
Posted: 01 August 2008 01:26 PM   [ Ignore ]   [ # 6 ]
New Member
Rank
Total Posts:  8
Joined  2008-08-01

Hi cerupcat,
yea, I replied to your youtube message. Also very interesting sound stuff you do. What are you using for the signal processing / synthesis?

The PK20 is alright, because the projection screen is quite close and you look into the beam. It has a very descent throw ratio as well (I think 1.6) and they are very cheap. You can use the box only in dim light conditions anyway (or a room with only artificial light), because even though I’m using a band-pass filter, the camera gets too much IR light in daylight conditions.

I still have to work a bit on the touch surface, because at the moment I’m using only a diffuser at the back and the plain acrylic. I tried out the heat’n’bond stuff - didn’t work. I tried out the xylene/silicon/tracingpaper method, but could get only crappy xylene here in the UK (it doesn’t evaporate completely as it seems), so that the silicone didn’t dry completely - http://www.anti-slip-paint.co.uk/xylene-litre-p-31.html. But so far the plain acrylic is ok.

Profile
 
 
Posted: 01 August 2008 01:39 PM   [ Ignore ]   [ # 7 ]
New Member
Rank
Total Posts:  8
Joined  2008-08-01
jimihertz - 01 August 2008 01:17 PM

did you write the apps also with Processing ?

Im writing a framework in Java, which is doing the blob detection/tracking/calibration and lets you select an applet you want to launch. It then loads the applet to the second screen and triggers an onBlobsUpdated() function every camera frame. The applets are basically Processing applets (extended PApplets), but I’m writing them with Eclipse (BIG recommendation!!). The sound stuff is done with SuperCollider, receiving OSC messages from the applets.

I’m thinking of extending the whole concept and make some sort of Java suite for Processing people, so that you can write an applet in Processing and open it with the Java multi-touch app. If your applet has an onBlobsUpdated() function it gets fed with blob data. No OSC, just plug and play - could be fun.

I’ve uploaded a screen of my Java app. It’s very simple, but does the job quite well. Here I’m holding two cardboard sticks with black dots on them in front of my crappy xBox live cam smile (notice the 7fps). For the calibration I’m using a 3D plane that can be rotated and moved until it fits the frame (not the best solution, but works).

Image Attachments
TrackingOptions.jpg
Profile
 
 
Posted: 01 August 2008 03:55 PM   [ Ignore ]   [ # 8 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  400
Joined  2007-09-18

Im writing a framework in Java, which is doing the blob detection/tracking/calibration and lets you select an applet you want to launch.

That’s great § Really usefull.

Processing applets (extended PApplets), but I’m writing them with Eclipse

never knew that you can write processing sketches with other soft .
What is the main advantage ?

Can you send your Java app in order to compare it with Touchlib ?

 Signature 

http://sassexperience.org

Profile
 
 
Posted: 01 August 2008 04:43 PM   [ Ignore ]   [ # 9 ]
New Member
Rank
Total Posts:  8
Joined  2008-08-01
jimihertz - 01 August 2008 03:55 PM

never knew that you can write processing sketches with other soft .
What is the main advantage ?

Eclipse is actually a Java IDE. The Processing sketchbook converts what you write with it into Java sourcecode, which is then compiled by the Java complier. The sketchbook actually has a few advantages, it does some type conversions for you and makes programming in overall a bit easier for beginners, BUT it does not show you errors or typos in your code until you compile it. And even then it is often confusing what it complains about. Also managing bigger projects in the sketchbook is not easy. Eclipse is a fully featured IDE, means it tells you what is wrong with your code while you type it, it lists the methods which are available for a specific Object and muchmuch more. In order to write a Processing applet with it, you need to link the processing.core library (core.jar) and extend the PApplet class. There are a few instructions on the web about it (on the Processing forum for example). Nevertheless, for small experiments and just some coding fun I still use the sketchpad - as the name tells wink

jimihertz - 01 August 2008 03:55 PM

Can you send your Java app in order to compare it with Touchlib ?

Touchlib is probably much more advanced, but I couldn’t use it because I needed something that works on Mac. Therefore I’m also curious about the new OpenTouch. I can put my app on my webspace, but I have to clean some things up first.

Profile
 
 
Posted: 01 August 2008 05:04 PM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  549
Joined  2006-11-09

big surprise  big surprise

Amazing stuff!!! One of my favorite videos to date… the audio manipulation is stunning.

I would LOVE to have one myself smile

 Signature 

~

Profile
 
 
Posted: 01 August 2008 08:48 PM   [ Ignore ]   [ # 11 ]
New Member
Rank
Total Posts:  8
Joined  2008-08-01

Thanks, I’m glad that you guys like it smile

I’ve uploaded the construction plan, but it shows only the wooden parts. If someone really wants to build it, I’ll document it in more detail. If there are a few people interested, it might be worth thinking about manufacturing a small series or kits. Unfortunately I will not have access to the university workshop anymore after this month, but there will be other ways…

File Attachments
touchcase.pdf  (File Size: 331KB - Downloads: 143)
Profile
 
 
Posted: 01 August 2008 09:57 PM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRankRank
Total Posts:  436
Joined  2008-04-22

Wow, that is awesome thoughtdiver!  Great Job!  It would be awesome if you could get the project and computer be all be self contained, but that would be one large briefcase:D You might be able to do it with an LCD panel, you should look into that.

All the best,

Alex

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile
 
 
Posted: 01 August 2008 10:12 PM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  622
Joined  2008-02-12

Wicked, great work dude

 Signature 

My MultiTouch Blog
My Youtube

Profile
 
 
Posted: 01 August 2008 11:39 PM   [ Ignore ]   [ # 14 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  300
Joined  2008-06-01

Wonderful software and hardware! This is a great example of full use of the MT environment. Excellent, just excellent!
Thank you for your detailed post and video.
Wow!!

 Signature 

Blobs the likes of which even the Gods have not seen!

Profile