|
crop |
Utilizes of the coordinates in input (matrix A) |
|
name |
Name the obtained image as P
1
|
|
|
resize |
Make Standard size of 75 × 228 pixel from P
1
|
|
name |
The obtained image as P
2
|
|
|
for |
Each pixel in image P
2{ |
|
start |
SCW method in P
2
|
|
parameters: |
X
1 = 2, Y
1 = 5, X
2 = 4, Y
2 = 10, T = 0.7, M = |
|
and |
standard deviation value; } |
|
name |
The obtained image P
3
|
|
|
inverse |
Image P
3
|
|
name |
The obtained image as P
4
|
|
|
Run |
Binary measurement in P
4
|
|
Retrieve |
Objects which meet (orientation > 75 degree), |
|
|
(height > 32 pixels) |
|
name |
The obtained image as p
5
|
|
|
Recognize |
The bounding case of characters using standard deviation in p
5
|
|
|
run |
Character segmentation in p
5
|
|
|
Count c, |
Where c: NO. detected characters |
|
|
for |
a = 1 : c, |
|
{convert |
Character to 9 × 12 pixels |
|
|
create |
Input vector |
|
Forward |
Input vector to PNN and get decision } |