Handwriting Recognition Using SVM

Download Full-Text PDF Cite this Publication

Text Only Version

Handwriting Recognition Using SVM

Kavya N

VII sem B.E, Dept. of CSE, GSSSIETW

Affiliated to VTU, Belagavi, Karnataka Mysuru, INDIA

Madhushree N

VII sem B.E, Dept. of CSE, GSSSIETW

Affiliated to VTU, Belagavi, Karnataka Mysuru, INDIA

Maheshwari S

VII sem B.E, Dept. of CSE, GSSSIETW

Affiliated to VTU, Belagavi, Karnataka Mysuru, INDIA

Manasa H C

VII sem B.E, Dept. of CSE, GSSSIETW

Affiliated to VTU, Belagavi,Karnataka Mysuru, INDIA

Anandhi G

Associate professor , Dept. of CSE, GSSSIETW, Affiliated to VTU, Belagavi,Karnataka

Abstract A design of a better pattern recognition system requires a standard database which will help in evaluating the algorithm and comparison of different methods check the usefulness of this methods for extracting the features of individual writers we created our own database, writer samples are collected scanned and stored as image files Writer identification is the process of determining the genuine writer from the list of candidates. According to the type of input data writer identification can be classified as either online or offline

Keywords SVM, Pattern Recognition, Feature Extraction

,Writer Identification

INTRODUCTION

Handwriting is one of the most important ways of communication. It was used since the Stone Age where symbols were drawn on stones in order to express or convey some meaningful information. Later, handwriting was done using pen and paper. Handwriting was used for personal benefits like writing reminders and notes for ourselves or for business purposes such as writing letters, statements and filling up forms.

The handwriting of each individual is unique because the process of handwriting is a physical process, which involves the mind, skeleton and muscles, controlled by the brain. Even so, individual handwriting could also differ, based on the mood and the state of mind of the person writing. The handwriting among the different stock of people are normally different, due to the conditioning and training during the period of growing up. However, even though the same stock of people has similar handwriting, it is an accepted fact that no two people have the same style of handwriting.

Handwriting has continue to persist as a means of communication and recording information in day-to-day life even with the introduction of new technologies.

This overview describes the nature of handwritten language, how it is transduced into electronic data, and the basic concepts behind written language recognition algorithms

, both the online and off-line cases are considered.

EXISTING SYSTEM

In earlier days it was a notion of the people who were using computers for their work have to adapt their style of input in a way computer expects-whether in typing, or filling out forms with letters.

Biometric features, which are used for personal identification, use the concept of pattern recognition [Plamond and G Lorette,1989; A.K. Jain, R. Bolle, S. Pankanti,1999;

Jain, L. Hong, S. Pankanti,2000;G.R. Ball and S.N. Srihari,2009]. Biometric data of each individual is acquired, features are extracted and matched with the features available in a database to obtain most accurate results.

These results may be used for variety of purpose including personal identification, crime or other security requirements.

Disadvantages:

  • To avoid interference with the human-readable address field which can be located anywhere on the letter, special ink is used that is clearly visible under ultraviolet light.

  • To avoid manual changes.

  • Fraud Detection.

PROPOSED SYSTEM:

A Design of a better pattern recognition system requires a standard database which will help in evaluating the algorithms and comparison of different methods To check the usefulness of our method for extracting the features of the individual writers, we created our own database. Writer samples are collected, scanned and stored as image files. From each writer, 5 samples of handwriting is collected at different time of the day to take care of possible variation in their writing due to change in their psychological behavior at different time of the day. This may due to stress level or their psychological attitude.

Step 1: Take a sample of the writer handwriting. Step 2:

For each sample repeat steps 3 to 5. Step 3: Find the features for each writer.

Step 4: Compute the average value of features selected in step 3.

Step 5: Compute the average value of each member in the group.

Step 6: Use the computed value in step 5 to get overall classification of the writer handwriting.

By literature survey

Paper[1]: In this paper we present a hybrid system which is able to achieve a mode detection performance of 95.6% on seven classes; handwriting, lines, arrows, ellipses, rectangles, triangles, and diamonds. The system consists of three KNN classiers which use global and structural features of the pen trajectory and a tting algorithm for verifying the different geometrical objects

Paper[2]: this paper presented a feature extraction technique for offline handwritten Gurumukhi character recognition based on the boundary extent of the character image and used various feature selection techniques, to reduce the dimensionality of feature vectors. This paper also compares their recognition performances using two different classifiers, namely, Nearest Neighbors (NN) and Support Vector Machine (SVM)

with linear kernel.

Paper[3]:This review paper will focus on different technique which is used on handwriting recognition. There are basically two different types of handwriting recognition system online and offline handwriting recognition. So this paper is an overview of different approaches of handwriting recognition system with their limitations and accuracy rate.

Paper[4]:This review paper presents on Optical Character Recognition (OCR) technique .English OCR system is compulsory to connect numerous published books of English into editable Computer files A system is required which can handle all Classes of English test and identify character among these classes

Start, Follow, Read: End-to End Full-Page Handwriting Recognition: Start, Follow, Read (SFR) model is composed of a Region Purpose Network to find the start position of text line, a novel line follower network that incrementally follows and preprocesses line of text into de warped images suitable for recognition by Convolution Neural Network Long Short- Term Memory (CNNLSTM) network

PROPOSED METHODOLOGY

The system architecture of the proposed system is shown below

SVM

Imple ment ANN

Calcul ate Gliff Width & Height

Imple ment ANN

Calcul ate Gliff Width & Height

Fig 1: System Architecture Draw image

this is the first step in this system architecture. The trained image is uploaded by the user. this image is stored in the database

Character Breakdown

Character breakdown is an operation that seeks to decompose an image of a sequence of characters into sub images of individual symbols

Glyph width

This is simply the glyph horizontal extent more simply it is (bbox.xMax,-bbox,Xmin) for unrelated font coordinator

, for related glyphs its computation requests specific case described in the grid-fitting

Glyph hight

This is simply the glyph horizontal extent more sim ply it is (bbox.xMax,-bbox,Xmin) for unrelated font coordinator. Its computation represents specific case

Calculate Glyph width and height

To determine the average character width and height at a particular font size, you can divide the resulting width and height

SVM CLASSIFER

Case 1: Consider the case in figure that to find the best hyperplane which can separate the two classes .In SVM we try to maximize the distanced between hyperplane and nearest data point

Case 2: In this case all decision boundaries are separated classes. Case 3: In this case data is not evenly distributed on left and right.

Case 4: While selecting hyperplane, SVM will automatically ignores the data point and selects the best performing hyperplane.

Case 5: In this case non linear classifiers are highlighted and Data cannot be separated by any straight line

Case 1:

  • To maximize the distance between hyperplane & nearest data point. This is known as margin.

  • Since 1st decision boundary is maximizing the distance between classes on left and right. So, the maximum margin hyperplane will be 1st

    CONCLUSION

    • Handwriting identification is the process of determining the genuine writer from the list of candidates

    • Handwritten digit recognition: Support vector classifiers can be applied to the recognition of isolated handwritten digits optically scanned.

    • Text Categorization: In information retrieval and then categorization of data using labels can be done by SVM SVMs are effective when the number of features is quite large.

    • It works effectively even if the number of features are greater than the number of samples.

    • Non-Linear data can also be classified using customized hyperplanes built by using kernel trick.

    • It is a robust model to solve prediction problems since it maximizes margin.

.

REFERENCE

[1]. A. Erol, G. Bebis, M. Nicolescu, R. D. Boyle, and X. Twombly, — Vision-based hand pose estimation: a review, Computer Vision and Image Understanding, vol. 108, no. 1-2, pp. 5273, 2007.

[2]. S. Mitra and T. Acharya, Gesture recognition: a survey, IEEE Transactions on Systems, Man and Cybernetics Part C: Applications and Reviews, vol. 37, no. 3, pp. 311324, 2007.

[3]. S. Berman and H. Stern, Sensors for gesture recognition systems, IEEE Transactions on Systems, Man and Cybernetics, Part C: Applications and Reviews, vol. 42, no. 3, pp. 277290, 2012.

[4]. A. Benbasat and J. Paradiso, An inertial measurement

[5]. frame- work for gesture recognition and applications, in Gesture and Sign Language in Human-Computer Interaction,

[6]. Wachsmuth and T. Sowa, Eds., vol. 2298, pp. 920, Springer, Berlin, Ger- many, 2002.

[7]. J. K. Oh, C. Sung-Jung, B. Won-Chul et al., Inertial sensor based recognition of 3-D character gestures with an ensemble classifiers, in Proceedings of the 9th International Workshop on Frontiers in Handwriting Recognition (IWFHR- 9 2004), pp. 112 117, Tokyo,

Japan, October 2004.

[8]. S. Zhou, Z. Dong, W. J. Li, and C. P. Kwong,

[9]. Hand-written character recognition using MEMS motion sensing technol- ogy, in Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM 08), pp. 1418 1423, IEEE, Xian, China, August 2008.

[10]. R. Xu, S. Zhou, and W. J. Li, MEMS accelerometer based nonspecific-user hand gesture recognition, IEEE Sensors Jour- nal, vol. 12, no. 5, pp. 11661173, 2012.

[11]. A. Akl, C. Feng, and S. Valaee, A novel accelerometer-based gesture recognition system, IEEE Transactions on Signal Pro- cessing, vol. 59, no. 12, pp. 61976205, 2011.

[12]. J. Y. Liu, L. Zhong, J. Wickramasuriya, and V. Vasudevan, uWave: accelerometer-based personalized gesture recognition and its applications, Pervasive and Mobile Computing, vol. 5, no. 6, pp. 657 675, 2009.

[13]. S.-D. Choi, A. S. Lee, and S.-Y. Lee, On-line handwritten character recognition with 3D accelerometer, in Proceedings of the IEEE International Conference on Information Acquisition (ICIA 06),

pp. 845850, IEEE, Weihai, China, August 2006.

[14]. J.-S. Wang, Y.-L. Hsu, and C.-L. Chu, Online handwriting recognition using an accelerometer-based pen device, in Pro- ceedings of the 2nd International Conference on Advances in Computer Science and Engineering, pp. 229 232, 2013.

[15]. J.-S. Wang and F.-C. Chuang, An accelerometer- based digital pen with a trajectory recognition algorithm for handwritten digit and gesture recognition, IEEE Transactions on Industrial Electronics, vol. 59, no. 7, pp. 29983007, 2012.

[16]. S. Kratz, M. Rohs, and G. Essl, Combining acceleration and gyroscope data for motion gesture recognition using classifiers with dimensionality constraints, in Proceedings of the 18th International Conference on Intelligent User Interfaces (IUI 13), pp. 173178, Santa Monica, Calif, USA, March 2013.

[17]. Y.-L. Hsu, C.-L. Chu, Y.-J. Tsai, and J.-S. Wang,

[18]. An inertial pen with dynamic time warping recognizer for handwriting and gesture recognition, IEEE Sensors Journal, vol. 15, no. 1, pp. 154 163, 2015.

[19]. J.-S. Wang, Y.-L. Hsu, and J.-N. Liu, An inertial- measurement- unit-based pen with a trajectory reconstruction algorithm and its applications, IEEE Transactions on Industrial Electronics, vol. 57, no. 10, pp. 35083521, 2010.

[20]. K. Liu, C. Chen, R. Jafari, and N. Kehtarnavaz,

[21]. Fusion of iner- tial and depth sensor data for robust hand gesture recognition, IEEE Sensors Journal, vol. 14, no. 6, pp. 18981903, 2014.

[22]. S. L. Zhou, F. Fei, G. L. Zhang et al., 2D human gesture tracking and recognition by the fusion of MEMS inertial and vision sensors, IEEE Sensors Journal, vol. 14, no. 4, pp. 1160 1170, 2014.

[23]. X. Zhang, X. Chen, Y. Li, V. Lantz, K. Wang, and J. Yang, A framework for hand gesture recognition based on accelerome- ter and EMG sensors, IEEE Transactions on Systems, Man, and Cybernetics Part A:Systems and Humans, vol. 41, no. 6, pp. 1064 1076, 2011.

[24]. H. Junker, O. Amft, P. Lukowicz, and G. Tro¨ster,

[25]. Gesture spot- ting with body-worn inertial sensors to detect

[26]. user activities, Pattern Recognition, vol. 41, no. 6, pp. 2010

2024, 2008.

[27]. C. Amma, M. Georgi, and T. Schultz, Airwriting: a wear- able handwriting recognition system, Personal and Ubiquitous Computing, vol. 18, no. 1, pp. 191203, 2014.

[28]. H.-K. Lee and J. H. Kim, An HMM-based threshold model approach for gesture recognition, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 21, no. 10, pp. 961973, 1999.

[29]. C. Zhu and W. Sheng, Wearable sensor-based hand gesture and daily activity recognition for robot-assisted living, IEEE Transactions on Systems, Man, and Cybernetics Part A:Systems and Humans, vol. 41, no. 3, pp. 569573, 2011.

[30]. S. Kim, G. Park, S. Yim et al., Gesture-recognizing hand- held interface with vibrotactile feedback for 3D interaction, IEEE Transactions on Consumer Electronics, vol. 55, no. 3, pp. 1169 1177, 2009.

[31]. M. Chen, G. AlRegib, and B.-H. Juang, Feature processing and modeling for 6D motion gesture recognition, IEEE Transac- tions on Multimedia, vol. 15, no. 3, pp. 561571, 2013.

[32]. M. H. Ko, G. West, S. Venkatesh, and M. Kumar,

[33]. Using dynamic time warping for online temporal fusion in multisen- sor systems, Information Fusion, vol. 9, no. 3, pp. 370 388, 2008.

[34]. D.-W. Kim, J. Lee, H. Lim, J. Seo, and B.-Y. Kang,

[35]. Efficient dynamic time warping for 3D handwriting recognition using gyroscope equipped smartphones, Expert Systems with Appli- cations, vol. 41, no. 11, pp. 51805189, 2014.

[36]. S. Vikram, L. Li, and S. Russell, Handwriting and gestures in the air, recognizing on the fly, in Procedings of the CHI, p. 21, Paris, France, April-May 2013.

[37]. S. Patil, H. R. Chintalapalli, D. Kim, and Y. Chai,

[38]. Inertial sensor-based touch and shake metaphor for expressive control of 3D virtual avatars, Sensors, vol. 15, no. 6, pp. 14435 14457, 2015.

[39]. http://www2.ece.gatech.edu/6DMG/Air-handwriting.html.

Leave a Reply

Your email address will not be published. Required fields are marked *