This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-17 12:25:11

Markyparky
Scratcher
Registered: 2008-12-23
Posts: 40

Scratch 2.0 Camera- Webcam Touchscreen!

When Scratch 2.0 comes out, i'm thinking of creating a project that tracks where your finger is, where several dots on-screen are on the webcam and allows you, when your Webcam faces your screen, in presentation mode, to control TOUCH SCREEN projects on ANY monitor! You could even do Multi-Touch with this method! All that is required is a webcam! Yep, TOUCH SCREEN on ANY MONITOR!

How it would work:
There would be 5 red circles (1 in each corner, 1 in the middle) on the stage that would be detected by the project with camera input on background, by scanning it using a sprite that would skim over the entire stage. Once it knows where the circles are, it knows what angles/size everything is and will track motion from hands, figure out where it  is according to the previously collected data, and move a sprite to that position!

What do you all think of this idea?


[scratchblocks] think [Sir, you have just failed an attempt to create Scratch Blocks.] [/scratchblocks]

Offline

 

#2 2012-05-17 18:55:51

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: Scratch 2.0 Camera- Webcam Touchscreen!

well, the webcam itself is very sketchy, so far the most successful thing I've done with it was make a dancing frog that faced right & left when you moved left & right.
I have doubts about its accuracy though, for an application like this. unfortunately, they got rid of some visual effects that were in the pre-alpha, that would have allowed you to set tolerances and such. So good luck with sensing the red. I would stick with Panther for that sort of thing, if I were you.

Offline

 

Board footer