Society of Robots - Robot Forum

Software => Software => Topic started by: AdvsNoob on May 10, 2009, 07:17:05 PM

Title: WebCam Color Recognition
Post by: AdvsNoob on May 10, 2009, 07:17:05 PM
WebCam Color Recognition, how do i add my webcam to my arduino and how can i get it to read a color?

Is this even possible?
Title: Re: WebCam Color Recognition
Post by: Razor Concepts on May 10, 2009, 08:13:18 PM
A computer can do the image processing, the Arduino is not powerful enough to do it.
Title: Re: WebCam Color Recognition
Post by: AdvsNoob on May 10, 2009, 09:59:14 PM
ok but how will i get my arduino to read the computer?
Title: Re: WebCam Color Recognition
Post by: SmAsH on May 11, 2009, 12:26:47 AM
uart? you could use usb to send the data maybe? with roborealm...
Title: Re: WebCam Color Recognition
Post by: Ro-Bot-X on May 11, 2009, 05:28:45 AM
ok but how will i get my arduino to read the computer?

Well, you can have the webcam and the computer on board the robot, or use some wireless serial interface (like Bluetooth, Xbee, etc.) to communicate with a desktop computer. In this case, the webcam should be wireless too, if you want to mount it on the robot.

Or you can get a CMUcam and mount it on the robot and have Arduino talk with it on the UART.
Title: Re: WebCam Color Recognition
Post by: jakx12 on June 02, 2009, 02:49:14 PM
do what ro-bot-x says, but vision algorithms are very complicated, i suggest using java for vision algorithms, though its not my favorite language and i gave up learning it  :D, iv seen many books on vision algorithms that employ java.