I'm wondering how does webcam/BlueCD work. When I try it, my webcam turns on but nothing happens (even with a cd in front ^^) Am I wrong with something or haven't i all understood ?
Sorry for my bad english, i'm french and tired.
Awesoken at
Re: About inputs in PingBall...
This was a silly test I did years ago. I found a Compact Disc that was mostly blue, and made it pure blue with a marker. I wrote some code to find a blue blob in the webcam's frame - i.e. the largest connected region. I could then determine its X,Y,Z position from its centroid and area. I got it working, except at certain angles, the CD would have a bad reflection and appear pure white or black and disappear to my algorithm. I have not tested the code in a long time, and can't say whether it still works.
Jinroh at
Awesoken said at
This was a silly test I did years ago. I found a Compact Disc that was mostly blue, and made it pure blue with a marker. I wrote some code to find a blue blob in the webcam's frame - i.e. the largest connected region. I could then determine its X,Y,Z position from its centroid and area. I got it working, except at certain angles, the CD would have a bad reflection and appear pure white or black and disappear to my algorithm. I have not tested the code in a long time, and can't say whether it still works.
That's actually a pretty rad idea. It's easy to find where the CD paddle is and makes for some really cheap motion controls. Except for the stupid reflection issues. Still genius though, Ken's 1:1 motion controls before the Wii. :P