Re: [Flashcoders] multi-touch directly in flash...

2009-01-09 Thread Weyert de Boer
Nice. May I ask you how you did the project shown at your blog? In the blog post Touchscreen Jukebox you are talking about touchscreens. Only how is this working exactly. Really touch screen? Sounds like, a nice way to do gesture-based interaction.

Re: [Flashcoders] multi-touch directly in flash...

2009-01-09 Thread Andrei Thomaz
hello Weyert, The screen is not really touch screen. It is an acrylic surface, with a camera behind it. This camera sees the fingers, and this image is processed by flash, using the code I published in the blog. Of course, the light must be carefully done, so you can get the fingers with a good

[Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
I have figured out how to make flash work as a multi-touch system... I am coding it now... it is so darn simple... it just came to me after watching a video on how to make your own multi-touch input device using a webcam a piece of white paper and a box to block most of the light so the cam

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Glen Pike
Hi, Mario Klingemann demo'd something like this at FlashOnTheBeach 2007 - have a look at quasimondo.com to see the 2D or not 2D lecture - not sure if he released any code though? http://lectures.quasimondo.com/ Glen Anthony Pace wrote: I have figured out how to make flash work as

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Ian Thomas
I was actually thinking of Mario's lecture at FoTB 2008 where he used very similar algorithms to read square barcodes (whatever those things are called) from a webcam. Not multitouch, but there's a lot of similar code (spotting areas of colour, eliminating noise). Worth a look, Anthony. Funnily

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
To my knowledge all flash integration for multi-touch has been made possible by using flosc by ben chun, or with OpenCV and touchLib; however, what I am proposing is that it is possible directly through the use of the flash player and a simple cam rig. I think that it should be possible, and

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Ian Thomas
Yeah, I absolutely get the idea (as I said, we were discussing it yesterday - with reference to an infra-red camera, but same principle). Check out Mario's stuff, there are areas-of-colour recognition algorithms there which will be of help, I think. Cheers, Ian On Thu, Jan 8, 2009 at 10:08 AM,

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Ian Thomas
That's a great tip. :-) Pocket change? Definitely not... we're not made of money either! Ian On Thu, Jan 8, 2009 at 10:43 AM, Anthony Pace anthony.p...@utoronto.ca wrote: thanks for the tip... I think IR is definitely the way to go; yet, you can just open up a web cam, and replace its

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
thanks for the tip... I think IR is definitely the way to go; yet, you can just open up a web cam, and replace its filter with a piece of blank exposed negative... saves you from actually having to buy an IR camera. For me purchasing new equipment is not an option; yet, for you it might be

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Piers Cowburn
There's good stuff by Grant Skinner too: http://incomplet.gskinner.com/index2.html#camwriter Piers On 8 Jan 2009, at 10:35, Ian Thomas wrote: Yeah, I absolutely get the idea (as I said, we were discussing it yesterday - with reference to an infra-red camera, but same principle). Check out

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Andrei Thomaz
hello, I've ported a blob detection Processing library, blobDetection, to AS3. It is slow, but maybe you can optimise it. http://andreithomaz.com/labs/?p=8 Using BitmapData.getBoundsRect(), I started BitmapBlobDetection. It works faster: http://andreithomaz.com/labs/?cat=4 I've also developed a

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Andrei Thomaz
and, of course, don't miss the NUI group forum: http://nuigroup.com/forums/viewforum/33/ and the original version of blobDetection http://v3ga.net/processing/BlobDetection/ best, andrei On Thu, Jan 8, 2009 at 12:10 PM, Andrei Thomaz andreitho...@gmail.comwrote: hello, I've ported a blob

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
great info... Before I peruse through your library, I have a few questions. Do you test for the largest circle or rectangle that can fit in the blob? Or for the centre point of the blob? or do you look for a circle or rectangle that encapsulates the blob, and then possibly locate an

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Andrei Thomaz
hello Anthony, you can set some parameters when using the library, to get what you want. For example: - you can set what will be the maximum size of a blob. If the blob is greater than the maximum size, the algorithm checks if there is really a large blob, or several small blobs. If the blob is

Re: [Flashcoders] multi-touch directly in flash...

2009-01-08 Thread Anthony Pace
Thank you very much for the zip... I look forward to nosing through it. Andrei Thomaz wrote: hello Anthony, you can set some parameters when using the library, to get what you want. For example: - you can set what will be the maximum size of a blob. If the blob is greater than the maximum