Rectangle detection based on a windowed Hough transform
Robust Detection of Lines Using the Progressive Probabilistic Hough Transform