Find lower border of objest using Brightness Histogram

asked 2015-02-05 21:35:00 -0600

seidju gravatar image

updated 2015-10-02 16:46:06 -0600

I found some article about car plates recognition, where author used Brightness histogram to find lower border of a car plate: image description

Could you give me some links to examples, to perform this operation in OpenCV C++? Thank you.

edit retag flag offensive close merge delete

Comments

1

IMHO you should do some kind of projection on Y axis (like sum all the pixels values on each row) and then you may have some similar thing. But your plate shall be as horizontal as possible, otherwise you'll get something similar to the top border of the object and then you'll not be able to extract it, I have tried it...

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-02-06 02:13:06 -0600 )edit

here you can find a sample code

sturkmen gravatar imagesturkmen ( 2016-02-11 14:45:24 -0600 )edit