Finding Shapes in Images using Python and OpenCV