First time here? Check out the FAQ!
answered 2012-11-29 02:37:04 -0600
I think squares.cpp(or squares.py) in samples folder can help you.
you can change some parts of the code and detect any simple objects (like square,circle,triangle...)