recognition of assamese handwritten numerals using mathematical morphology

17
Recognition of Assamese Handwritten Numerals Using Mathematical Morphology Authors Kalyanbrat Medhi Dr. Sanjib Kr. Kalita Dept. of Computer Science, Gauhati University Presented by Kalyanbrat Medhi

Post on 17-Oct-2014

146 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Authors Kalyanbrat Medhi Dr. Sanjib Kr. Kalita

Dept. of Computer Science, Gauhati University

Presented by Kalyanbrat Medhi

Page 2: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Introduction

• The problem of Assamese handwritten digits recognition is considered.

• Mathematical morphology is used.

• The ISI Kolkata data sets are used for testing.

• Applications – postal code reading

– license plate reading

– price recognition etc.

• Recognition Technique – On-Line Recognition

– Off-Line Recognition

• we use the off-line technique for digit recognition

Page 3: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(1)

• blobs and stems are used to recognize

• Blobs can identified with the help of boundary trace method considering the property as hole.

• The method takes binary image as input and returns the exterior boundaries of the image.

• Subtract those boundaries that are not related to blobs of the image

• It is seen that there are two boundaries are not that covering the blobs.

Page 4: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(2)

• Stems are identified as

– By using matlab function edge() get an intermediate image.

– Calculate number of pixels in each column and row of the intermediate image.

– If more than 1/3 rd rows contain two non-zero pixels then vertical stems exist.

– If more than 1/3 rd columns contain two non-zero pixels then horizontal stems exist

• Unnecessary small stems are not detected.

Page 5: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(3) Care should be taken

– Image need to crop properly

– Image should be not too small.

• An input image is resized to size 44x35.

• Then image is converted to binary image.

• Morphological-dilation followed by erosion on that binary image.

• Small objects are removed using morphologically opening the image

• image placed at the root node of decision tree.

• Next action is performed depending of feature of the node.

• The algorithm is as follows

Page 6: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(4)

• Step1.Count the number of blobs in the image. • Step2.If number of blobs in step 1 is 1 go through step 3 to step 7 and if

0 go through step 8 to step 15 • Step3.Find the number of vertical stems and horizontal stems with

position up and down. • Step4.If number of vertical and horizontal stems in step 3 is 2 then digit is

৮ (8). If number of stems in step 3 is 1 and position of stems is up it is ১ (1). If number of stems in step 3 is 1 and position of stems is down it is ৭ (7).

• Step5.If number of vertical and horizontal stems in step 3 is 0 then check the number of blobs found in step 1. If number of blobs in step 1 is 2 digit is ৪ (4). If number of blobs in step 1 is 1 go through step 6 to step 7.

• Step6.Draw line vertically right of the digit and count the number of blobs in that image.

• Step7. If number of blobs in step 6 is 2 digit is ৫ (5). If number of blobs in step 6 is 2 digit is ০ (0).

Page 7: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(5)

• Step8.Draw line middle of the digit horizontally. Count the number of blobs in that image.

• Step9.If number of blobs in step 8 is 1 then go through step 10 to 13 and if 0 go through step 14 to 15.

• Step10.Draw line middle of the digit vertically. Count the number of blobs in that image.

• Step11.If number of blobs in step 10 is 3 digit is ৩ (3). If number of blobs in step 10 is 2 go through step 12 to 13.

• Step12.Draw line left of the digit vertically. Count the number of blobs in that image.

• Step13. If number of blobs in step 12 is 3 digit is ৯ (9). If number of blobs in step 12 is 2 digit is ৬ (6).

• Step14.Draw line right of the digit vertically. Count the number of blobs in that image.

• Step15.If number of blobs in step 14 is 1 digit is ২. If number of blobs in step 14 is 0 digit is ১ (1).

Page 8: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(6)

Page 9: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(7)

Page 10: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(8)

Page 11: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Methodology(9) • Assamese digit {১} without blobs and with blobs as depicted

in figure (to right hand)

• If the stems is above the blobs then it is {১} and stems is below the blobs then it is {৭}.

• Similarly digit {৮} may be with blobs or without blobs as bellow

• But when we draw line horizontally through middle of digit we obtain one blobs in {৮} and zero blobs in {২}.

Page 12: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Result of Experiment(1)

Recognition success rate of various handwritten Assamese numerals

Page 13: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Result of Experiment(2)

Recognition process in matlab for digit 7

Page 14: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Result of Experiment(3)

Recognition process in matlab for digit 3

Page 15: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

CONCLUSION

• This is a simple and superior algorithm

• This algorithm can successfully detect printed assamese digits almost 100%.

• This algorithm can successfully detect assamese handwritten digits almost 80% in average.

• Recognition rate is not very satisfactory but for some assamese digits it is good (০,৮ and ৭ 96%).

• However by increasing alternate path recognition rate can be improved. This work is recommended as future work.

Page 16: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

REFERENCES • C. Liu, K. Nakashima, H. Sako, H. Fujisawa “Handwritten digit recognition: Benchmarking of state-of-the-art techniques.”

Pattern Recognition 36, 2003 ISSN:2271–2285. • J. Serra and P. Soille, “Mathematical Morphology and Its Applications to Image Processing”, proceedings of the 2nd

international symposium on mathematical morphology (ISMM'94), 1994, ISBN 0-7923-3093-5 • R. Sharma, A. Jain, R. Sharma and J. Wadhwa, “Character And Digit Recognition Aided by Mathematical Morphology”,

International Journal of Computer Technology & Applications, Vol 4 (5),828-832, 2013, ISSN:2229-6093. • B. Kaur and S. P. Kaur, “Applications of Mathematical Morphology in Image Processing: A Review”, International Journal

of Electronics & Communication Technology, Vol. 4, Issue Spl - 3, April - June 2013, ISSN : 2230-7109 (Online) | ISSN : 2230-9543 (Print).

• V. V. Kumar, A. Srikrishna, B. R. Babu and M. R. Mani, “Classification and recognition of handwritten digits by using mathematical morphology”, Sadhana Vol. 35, Part 4, August 2010, pp. 419–426, 2010.

• M. A. Abu-Zanona and B. M. El-Zaghmouri, “Current Arabic (Hindi) Hand Written Numbers Segmentaion and Recognition Advance Image Processing and Neural Network”, Journal of Emerging Trends in Computing and Information Sciences, VOL. 3, NO. 6, June 2012, ISSN 2079-8407.

• P. Anishiya and S. Mary Joans, “Number Plate Recognition for Indian Cars Using morphological Dilation and Erosion with the Aid Of Ocrs”, 2011 International Conference on Information and Network Technology , IPCSIT vol.4 (2011), IACSIT Press, Singapore

• U. Rani, B. Singh and R. Singh, “Machine Printed Punjabi Character Recognition Using Morphological Operators on Binary Images”, International Journal of Engineering Research & Technology, Vol. 1 Issue 3, May – 2012, ISSN: 2278-0181.

• G. Goel and R. Dhir, “Characters Strings are Extracted Exhibit Morphology Method of an Image”, International Journal Of Computers & Technology, Vol 6, no 1, May 2013, ISSN 22773061

• A.K. Das and B. Chanda , “A fast algorithm for skew detection of document images using morphology”, International Journal on Document Analysis and Recognition, 2001

• M. Agarwal, A. Kumar, V. Gupta, “Text Extraction of Colour Images using Mathematical Morphology & HAAR Transform”, IOSR Journal of Computer Engineering, Volume 14, Issue 5 (Sep. - Oct. 2013), PP 78-87, e-ISSN: 2278-0661, p- ISSN: 2278-8727

• J. Angul and J. Serra, “Automatic analysis of DNA microarray images using mathematical morphology”, Bioinformatics, Vol. 19 no. 5, 2003, pages 553–562

• K. Medhi, “Assamese Grammar and Origin of the Assamese language”, Publication Board Assam, 1988. • http://www.idi.ntnu.no/emner/tdt16/lectures/lecture4.pdf, “Morphological Image Processing Lecture 22”, Norwegian

University of Science and Technology, pages 1-27. • N. Khairuddin, N. M. Isa and W. M. S.W. Hassan, “Morphological techniques for microcalcification and mass

enhancement”, Nuclear Science, Technology & Engineering Conference 2012.

Page 17: Recognition of Assamese Handwritten Numerals Using Mathematical Morphology

Thank you for your time