HomeworkHelpOnline.net - Python: Find Rectangles
Find solid colour rectangles which are darker than the background. Check out rect_final.py for the main code. All the supporting functions are in customFunctions.py.
http://www.homeworkhelponline.net/blog/programming/find-rectangles