Detect Rectangles Given Corners and Sizes in Pixels