RECOGNITION SYSTEM
using Neuro-Fuzzy Logic
Character recognition
FLOW DIAGRAM
Input Image Image Binarization Connected area Labeling
Blob Analysis
Output
Character recognition
IMAGE BINARIZATION
Blob analysis needs to analyze image in only two colors, for finding connected areas.
Actual Image
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0
0 1 1 0 0 0 0 0
0 1 1 0 0 0 1 0
0 0 0 1 1 1 1 0
0 0 0 0 0 0 0 0
Connected area
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0
0 2 2 0 0 0 0 0
0 2 2 0 0 0 3 0
0 0 0 3 3 3 3 0
0 0 0 0 0 0 0 0
BLOB ANALYSIS
Calculate size of each connected component. Discard connected Area having size less than 20 pixels or greater than 100 pixels.
Convert each character into character matrix 000001100000 000010010000 000100001000 001000000100 011111111110 010000000010 010000000010 010000000010
mat[0][1] mat[0][2]
mat[0][3]
0.5087
0.3431
mat[8][7] mat[8][8]
0 0.6491
Hidden node value = input node * associated weight + hidden node weight.
Hidden nodes
weight H1
weight
H2
weight
H3
weight weight
H4
H5
H2
0.5784 H3 0.8970
Output node value = (output of hidden node * associated weight ) + output weight.
0.3682
H4 0.4563 H5
Output nodes
1
0 Output = W 1
For B = 0 0 0 1 0 For C = 0 0 0 1 1 If (output1=0 && output2=0 && output3=0 && output4=1 && output5=0)
than character is B