segmentation license plate

asked 2015-08-03 15:56:12 -0500

active92 gravatar image

updated 2015-08-03 15:56:27 -0500

I have this image as shown below. The 'k' is somehow not detected because it is connected to the background. Is there any way to detect the 'k'

image description

edit retag flag offensive close merge delete

Comments

May be you can use rule for license plate. You have found six symbols and one is missing. So add a rectangle on left using mean distance between found rectangle. Your symbol is here. (sorry for my bad english)

LBerger gravatar imageLBerger ( 2015-08-03 16:06:37 -0500 )edit
1

this is only one of the test samples. if i implement this, all others will get affected as well.

active92 gravatar imageactive92 ( 2015-08-03 19:55:28 -0500 )edit
1

It depends if you have got many country license plate or not. Another way is to use all rectangles to fit based line of your letter. After fill outside with your background color.

LBerger gravatar imageLBerger ( 2015-08-04 02:35:20 -0500 )edit
1

If your LPs have all the same number of symbols, then you can do some kind of research the characters (or search for the missing ones) based on the found ones, by cutting the the top and bottom parts. This cut should be done base on the rectangles you have (like choosing the mean of the y coord, or the min, you should test to see what is the best); then do the same for the bottom line (based on y and height)

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-08-04 02:36:28 -0500 )edit
1

Or, if you have the LP, then you can detect the text line, by doing projection on y axis. there should be 2 minimums: one for the top white part and one for the low white. You can improve it if you do the projection on the binary image (after thresholding)

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-08-04 02:38:57 -0500 )edit