A horizontal projection profile is defined as the vector of the sums of the pixel intensities over each row. The image below shows a graph representation of the horizontal projection of the edge image, where the peaks of the graph indicate regions with strong edges and can be used to extract the most likely horizontal positions of the license plate.
But how can I label all the horizontal segments that correspond to significant peaks in the projection profile of the edge image for further vertical location processing?
Any suggestion is highly appreciated.