I am wondering if it would be possible to realize a very simple image recognition based on a Arduino Uno. In fact, the system would be autonomous : there would be a webcam, or a cheap image sensor, plugged directly into the board. On a regular basis, the Arduino would take a picture at a very low resolution (why not 320*240, even lower if necessarily) and extract the Red Color, from RGB matrix, to look for a peak...
Jimtonic:
I was just expecting to take one photo every beginning of the loop... ?
Not at 320x240 - but at half that - possibly. It won't be fast; it won't be easy - and you likely won't be able to do much more than just the image processing.
Look up a device called (IIRC) - AVRCam - it was a board, kinda like the CMUcam - that used an ATMega8:
So - it's kinda possible to do what you want to do; but you're likely going to need to "dedicate" the Arduino to the task, then communicate with it in some manner via a serial link or such (maybe - you might have enough room left over for a small bit of code - depends on what you need from your frame or line buffer; you don't -have- to process frames, btw - to do blob recognition, etc; take a look at how the AVRcam works, its code base, but info about the CMUcam and such).
Check out "http://www.riccibitti.com/witnesscam/entry/witnesscam.htm"
it's slow, not quite the resolution you stated, but close, and it can capture motion. ship the captured date to another avr ot pic for post processing against a mask or previous image. Pixel compares are a slow bear, but can be done.
Well, in fact I think we are going ton use a specific card, such as the cmucam. It seems this is really really designed to handle pictures and motions... It is much more expensive than an Arduino, but it will be ok !
Thanks all for your help