1. A computer-implemented method for detecting edges of an object, the method comprising: computing horizontal image derivatives of an image, wherein the horizontal image derivatives are a matrix having two or more columns that are computed pixel-wise or point-wise; integrating column sums of the horizontal image derivatives to create an edge strength plot of the image; detecting peaks in the edge strength plot corresponding to dominant edges, wherein the dominant edges are potential pairs of left and right edges of the object; and selecting a potential pair of left and right edges with a maximum paired edge score wherein the maximum paired edge score comprises a combination of integrated column sum values.