Camera Shape Tracking

Hello,

How to I work with images in the code to detect shapes? This detection system I am doing is based off of the method used in FRC but with an Arduino. The method is that a red light is shined at the outline of a box made from retro-reflective tape, the camera then sees a quite distinct red box. The processing calculates the location of the box (from left to right) and then aims the robot accordingly.

So my question is, how can I accomplish this?

Thanks,
Davis

You have to get the image into the Arduino first. As it is so new no one has done this yet, you could be the first.

The simplest way would be to use an external 'flash' A/D converter from a composite video signal. What sort of resolution do you want? Shape recognition is hard due to the problem of orientation. Have you read any image processing stuff?