On my hunt for a way to get our little Pixy to do some Shape Detection I discovered Edge Detection. It seems like this would take less processing power and probably be quicker.
Michael on nootropicdesign.com put together some code for both “Object Tracking” and “Edge Detection” (both can be found on the same page) using the Video Experimenter shield for the Arduino. I am sure his code can probably be adapted to be used with the Pixy. Here is the link to his site and I have included a link to the code as well. Do-able? Anyone good enough with Arduino code to modify it for use on the Arduino with the Pixy if it can?
Link to site: http://nootropicdesign.com/projectlab/2011/03/20/arduino-computer-vision
Arduino Code: http://nootropicdesign.com/ve/downloads/EdgeDetection.zip