4. Your statement about groupRectangles is generally not true. With reasonable eps the function groups only overlapped rectangles, and the algorithm is still able to return multiple objects. It is usually quite simple to find proper eps for your particular case.