From: Leonardo Oliveira on
Hi there.

I actually dont have a question, but am asking for suggestions.
I'm developing a code for car plate recognition and I am stuck on the very end of characteres segmentation.

http://yfrog.com/f/bhimguog/

I have this images above and need to manipulate in a way that remain the important 7 objetcs in each (brazilian car plates: always 3 letters and 4 numbers). In other other words, need to eliminate those undisired yellow and green blocks on the right, left, and possibly in the middle. Theres none in the middle in these examples I gave, but its a possibility and need considerate it, cause i'm using the code for 100+ images later.

As you can see, the objects are labeled and have no connected points.
Please, i dont want a code, but suggestions about what to try next.

Thanks.
From: ImageAnalyst on
Just count the blobs. Then, if there are more than 7, examine the
first and last to see if they touch the right or left edges. If they
do, get rid of them. Adapt that somewhat for the case like there are
exactly 8, there are 10 or more, they don't touch the right/left
edges, etc.
From: Leonardo Oliveira on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <82d0ea12-895c-41c3-ac33-3aa33bbfa70b(a)q22g2000yqm.googlegroups.com>...
> Just count the blobs. Then, if there are more than 7, examine the
> first and last to see if they touch the right or left edges. If they
> do, get rid of them. Adapt that somewhat for the case like there are
> exactly 8, there are 10 or more, they don't touch the right/left
> edges, etc.

Thanks for the reply.
I'll start by doing this.

But supposing i have an image just like the image 4, but with char 7 touching the right edge. then i have a char touching an edge and that block touching the other edge.
i know none of the images shown is in this situation, but i need a robust code, and probably this will happen sometime.

Do you suggest i should proceed to char recognition with these "bad blocks" and then find a way to say "ok, this is absolutely not a char" and remove it OR you think i could try some other options now and to char recognition when i have the 7 objects alone?
From: Leonardo Oliveira on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <82d0ea12-895c-41c3-ac33-3aa33bbfa70b(a)q22g2000yqm.googlegroups.com>...
> Just count the blobs. Then, if there are more than 7, examine the
> first and last to see if they touch the right or left edges. If they
> do, get rid of them. Adapt that somewhat for the case like there are
> exactly 8, there are 10 or more, they don't touch the right/left
> edges, etc.

Thanks for the reply.
I'll start by doing this.

But supposing i have an image just like the image 4, but with char 7 touching the right edge. then i have a char touching an edge and that block touching the other edge.
i know none of the images shown is in this situation, but i need a robust code, and probably this will happen sometime.

Do you suggest i should proceed to char recognition with these "bad blocks" and then find a way to say "ok, this is absolutely not a char" and remove it OR you think i could try some other options now and to char recognition when i have the 7 objects alone?
From: Sean on
"Leonardo Oliveira" <leoadeoliveira(a)gmail.com> wrote in message <i3uv4t$im8$1(a)fred.mathworks.com>...
> ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <82d0ea12-895c-41c3-ac33-3aa33bbfa70b(a)q22g2000yqm.googlegroups.com>...
> > Just count the blobs. Then, if there are more than 7, examine the
> > first and last to see if they touch the right or left edges. If they
> > do, get rid of them. Adapt that somewhat for the case like there are
> > exactly 8, there are 10 or more, they don't touch the right/left
> > edges, etc.
>
> Thanks for the reply.
> I'll start by doing this.
>
> But supposing i have an image just like the image 4, but with char 7 touching the right edge. then i have a char touching an edge and that block touching the other edge.
> i know none of the images shown is in this situation, but i need a robust code, and probably this will happen sometime.
>
> Do you suggest i should proceed to char recognition with these "bad blocks" and then find a way to say "ok, this is absolutely not a char" and remove it OR you think i could try some other options now and to char recognition when i have the 7 objects alone?


Are these the original images you were given or do you have the unaltered license plate images? I wonder if there might be something you could do to improve the images themselves. Otherwise you have a fun and difficult task.
 |  Next  |  Last
Pages: 1 2 3
Prev: Covariance
Next: inspect enumerations