PDA

View Full Version : can I build a colour sensor with one webcam



nofearsot
06-12-2005, 01:59 AM
can I build a colour sensor with one webcam

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.geocities.com/cdrombot

Chris Savage
06-12-2005, 09:25 AM
Hello,

Very doubtful, since most webcams not only have a USB interface, but the overhead for image processing would be considerable.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

nofearsot
06-12-2005, 06:36 PM
Can I build a sensor like CMUcam Vision System for the Boe-Bot robot with a web cam?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.geocities.com/cdrombot

steve_b
06-12-2005, 06:52 PM
I'd say yes assuming you are proficient enough at coding in C or something that would run in windows...accessing the port, pulling the image data, then analyzing the image data for the things you want.

It's less of a stamp thing than a PC programming thing.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Steve
http://ca.geocities.com/steve.brady@rogers.com/index.html
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."

Paul Baker
06-14-2005, 02:32 AM
The CMUcam is a cam which has an SX processor coupled with it to perform operations on the data such as object tracking. To create a similar system you would need to do the same, create an interface processor that is fast enough to handle the data in real time. The Basic stamp by all accounts cannot do this, the processor must be able to handle millions of pixels of information every second, the stamp can only do ~2000 instructions/second, this is more than 1000 times too slow.

The amount of money you would spend on developing this system (not accounting for personal time spent) will run you double the cost (or more) than buying a CMUcam. Unless you need a feature or function that CMUcam does not provide, there is no sense in creating your own interface unless you are just seeking the challenge.

Post Edited (Paul Baker) : 6/13/2005 6:37:33 PM GMT