Rectangle detection based on a windowed Hough transform
generalizing the hough transform to detect arbitrary shapes .