Both define rectangular regions with x, y, width, height coordinates. DOM element bounds and object detection boxes use the same data structure.