1. A method of estimating one or more dimensions of a patch panel, the method comprising: receiving an image of a patch panel, wherein the patch panel comprises a plurality of ports and one or more gaps; extracting, by a computing device, a region of interest from the received image; detecting, by the computing device, one or more line segments from the region of interest; determining whether one or more candidate ports can be identified based on at least a portion of the line segments; and in response to determining that one or more candidate ports can be identified: identifying one or more candidate ports, and determining, by the computing device, a gap length associated with the identified candidate ports.