Wednesday, January 10, 2007
Tuesday, January 09, 2007
Webcam color tracking
So this is a VERY rough attempt at tracking objects based on color. Again, you need a webcam.
1) Fill the middle circle with a nice bright high contrast color
2) Click the COLOR button
3) Little crosshairs track the color (er, somewhat)
Color Tracking
A brightly lit room helps. This actually worked worse and worse the later/darker it became.
With my best efforts I don't think this could be viable for a released product but it was an ejoyable experiment. What I was really hoping to do was track the color and then add some gesture recognition. Then I could cast spells a la Harry Potter or something silly.
*Edit*
A number of people have contact me about the code for this. I must warn you, IT WORKS POORLY EVEN UNDER THE BEST CONDITIONS! But you asked so here is the source.
1) Fill the middle circle with a nice bright high contrast color
2) Click the COLOR button
3) Little crosshairs track the color (er, somewhat)
Color Tracking
A brightly lit room helps. This actually worked worse and worse the later/darker it became.
With my best efforts I don't think this could be viable for a released product but it was an ejoyable experiment. What I was really hoping to do was track the color and then add some gesture recognition. Then I could cast spells a la Harry Potter or something silly.
*Edit*
A number of people have contact me about the code for this. I must warn you, IT WORKS POORLY EVEN UNDER THE BEST CONDITIONS! But you asked so here is the source.
Monday, January 08, 2007
Webcam Bubbles
Here at work my webcam stuff is well received so I am working on some more webcam games.
Again, this is built off of the code at adobe.com.
bubbles
Yes, those are Bubble Bobble bubbles.
Next I would like to remember the user's last position. Then I could do dodging, etc. I feel a bit silly trying to recreate simple things that Eyetoy can do but its still exciting to see it on a webcam.
Again, this is built off of the code at adobe.com.
bubbles
Yes, those are Bubble Bobble bubbles.
Next I would like to remember the user's last position. Then I could do dodging, etc. I feel a bit silly trying to recreate simple things that Eyetoy can do but its still exciting to see it on a webcam.