A new efficient algorithm for fitting of rectangles and squares | IEEE Conference Publication | IEEE Xplore