Mobile Application with Optical Character Recognition Using Neural Network

Similar documents
OCR For Handwritten Marathi Script

IMPLEMENTING ON OPTICAL CHARACTER RECOGNITION USING MEDICAL TABLET FOR BLIND PEOPLE

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Optical Character Recognition (OCR) for Printed Devnagari Script Using Artificial Neural Network

NOVATEUR PUBLICATIONS INTERNATIONAL JOURNAL OF INNOVATIONS IN ENGINEERING RESEARCH AND TECHNOLOGY [IJIERT] ISSN: VOLUME 5, ISSUE

Handwritten Hindi Character Recognition System Using Edge detection & Neural Network

Review on Methods of Selecting Number of Hidden Nodes in Artificial Neural Network

Neural Network Classifier for Isolated Character Recognition

Handwriting Recognition of Diverse Languages

Finger Print Enhancement Using Minutiae Based Algorithm

International Journal of Advance Engineering and Research Development OPTICAL CHARACTER RECOGNITION USING ARTIFICIAL NEURAL NETWORK

An Improvement Study for Optical Character Recognition by using Inverse SVM in Image Processing Technique

Keywords OCR, NoteMate, Text Mining, Template Matching, Android.

HCR Using K-Means Clustering Algorithm

Cursive Handwriting Recognition System Using Feature Extraction and Artificial Neural Network

INTERNATIONAL RESEARCH JOURNAL OF MULTIDISCIPLINARY STUDIES

HANDWRITTEN GURMUKHI CHARACTER RECOGNITION USING WAVELET TRANSFORMS

Simulation of Zhang Suen Algorithm using Feed- Forward Neural Networks

Handwritten Devanagari Character Recognition Model Using Neural Network

Handwritten Gurumukhi Character Recognition by using Recurrent Neural Network

An Efficient Character Segmentation Based on VNP Algorithm

Hand Writing Numbers detection using Artificial Neural Networks

Hand Written Character Recognition using VNP based Segmentation and Artificial Neural Network

Anale. Seria Informatică. Vol. XVII fasc Annals. Computer Science Series. 17 th Tome 1 st Fasc. 2019

Arabic Text Extraction from Video Film

SEVERAL METHODS OF FEATURE EXTRACTION TO HELP IN OPTICAL CHARACTER RECOGNITION

Handwritten Character Recognition with Feedback Neural Network

Writer Recognizer for Offline Text Based on SIFT

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

Abstract. Problem Statement. Objective. Benefits

Segmentation of Isolated and Touching characters in Handwritten Gurumukhi Word using Clustering approach

AN APPROACH FOR SCANNING BASIC BUSINESS CARD IN ANDROID DEVICE

ABSTRACT I. INTRODUCTION. Dr. J P Patra 1, Ajay Singh Thakur 2, Amit Jain 2. Professor, Department of CSE SSIPMT, CSVTU, Raipur, Chhattisgarh, India

Character Recognition of High Security Number Plates Using Morphological Operator

Meta-Content framework for back index generation

Tamil Image Text to Speech Using Rasperry PI

A Fast Recognition System for Isolated Printed Characters Using Center of Gravity and Principal Axis

Khmer Character Recognition using Artificial Neural Network

FRAGMENTATION OF HANDWRITTEN TOUCHING CHARACTERS IN DEVANAGARI SCRIPT

Multi-Layer Perceptron Network For Handwritting English Character Recoginition

Toward Part-based Document Image Decoding

Comparing Tesseract results with and without Character localization for Smartphone application

Research Report on Bangla Optical Character Recognition Using Kohonen etwork

DESIGNING A REAL TIME SYSTEM FOR CAR NUMBER DETECTION USING DISCRETE HOPFIELD NETWORK

Ubiquitous Computing and Communication Journal (ISSN )

Segmentation of Kannada Handwritten Characters and Recognition Using Twelve Directional Feature Extraction Techniques

A Review on Handwritten Character Recognition

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Character Recognition Using Matlab s Neural Network Toolbox

CLASSIFICATION WITH RADIAL BASIS AND PROBABILISTIC NEURAL NETWORKS

Devanagari Handwriting Recognition and Editing Using Neural Network

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: 1.852

Fingerprint Feature Extraction Based Discrete Cosine Transformation (DCT)

Character Recognition Using Convolutional Neural Networks

A New Approach to Detect and Extract Characters from Off-Line Printed Images and Text

Handwritten character and word recognition using their geometrical features through neural networks

Layout Segmentation of Scanned Newspaper Documents

Droid Notes Notebook on a phone

Research Article. August 2017

Classification of Printed Chinese Characters by Using Neural Network

Keywords Binary Linked Object, Binary silhouette, Fingertip Detection, Hand Gesture Recognition, k-nn algorithm.

A System for Joining and Recognition of Broken Bangla Numerals for Indian Postal Automation

Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

I. INTRODUCTION. Figure-1 Basic block of text analysis

DEVANAGARI SCRIPT SEPARATION AND RECOGNITION USING MORPHOLOGICAL OPERATIONS AND OPTIMIZED FEATURE EXTRACTION METHODS

Analysis of Image and Video Using Color, Texture and Shape Features for Object Identification

6. NEURAL NETWORK BASED PATH PLANNING ALGORITHM 6.1 INTRODUCTION

A Technique for Classification of Printed & Handwritten text

Fine Classification of Unconstrained Handwritten Persian/Arabic Numerals by Removing Confusion amongst Similar Classes

A Proposed Cipher Technique with a Study of Existing Cryptography Techniques

CHAPTER 8 COMPOUND CHARACTER RECOGNITION USING VARIOUS MODELS

Character Recognition

Keywords Connected Components, Text-Line Extraction, Trained Dataset.

OCR and OCV. Tom Brennan Artemis Vision Artemis Vision 781 Vallejo St Denver, CO (303)

A New Technique for Segmentation of Handwritten Numerical Strings of Bangla Language

Implementation and Advanced Results on the Non-Interrupted Skeletonization Algorithm

Optical Character Recognition Based Speech Synthesis System Using LabVIEW

International Journal of Advance Research in Engineering, Science & Technology

2. Basic Task of Pattern Classification

Sobel Edge Detection Algorithm

OFFLINE SIGNATURE VERIFICATION

2009 International Conference on Emerging Technologies

Extraction and Recognition of Alphanumeric Characters from Vehicle Number Plate

Optimizing Number of Hidden Nodes for Artificial Neural Network using Competitive Learning Approach

A Comparative Study of Selected Classification Algorithms of Data Mining

Segmentation of Characters of Devanagari Script Documents

A Survey of Problems of Overlapped Handwritten Characters in Recognition process for Gurmukhi Script

A System to Automatically Index Genealogical Microfilm Titleboards Introduction Preprocessing Method Identification

A Supervised Method for Multi-keyword Web Crawling on Web Forums

Reduced Image Noise on Shape Recognition Using Singular Value Decomposition for Pick and Place Robotic Systems

Artificial Intelligence Introduction Handwriting Recognition Kadir Eren Unal ( ), Jakob Heyder ( )

ABJAD: AN OFF-LINE ARABIC HANDWRITTEN RECOGNITION SYSTEM

Isolated Curved Gurmukhi Character Recognition Using Projection of Gradient

Image Retrieval Based on Quad Chain Code and Standard Deviation

Image Compression: An Artificial Neural Network Approach

Recognition of Handwritten Digits using Machine Learning Techniques

EXTRACTING TEXT FROM VIDEO

Segmentation Based Optical Character Recognition for Handwritten Marathi characters

Enhancing the Character Segmentation Accuracy of Bangla OCR using BPNN

Dietrich Paulus Joachim Hornegger. Pattern Recognition of Images and Speech in C++

Transcription:

Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 4, Issue. 1, January 2015, pg.483 489 RESEARCH ARTICLE ISSN 2320 088X Mobile Application with Optical Character Recognition Using Neural Network Mayuri B Gosavi 1, Ishwari V Pund 2, Harshada V Jadhav 3, Sneha R Gedam 4 1,2,3,4 B.E Computer, Department of Computer Engineering, GES s R.H.Sapat college of Engineering, Nashik- 422005, Maharashtra, India 1 mayurigosavi1994@gmail.com, 2 ishu.pund@yahoo.in, 3 harshadajadhav03@gmail.com, 4 snehagedam1994@gmail.com Abstract The Optical character Recognition is a mobile application. The OCR takes image as the input and get text from that image. The character recognition method is presented by using OCR technology and higher quality camera of android phone.ocr technology is used for pattern recognition of characters. Neural network will recognize the complete character with the help of Kohonen algorithm. At first, text region are scanned properly then it segments the characters. After that preprocessing is done and then it extracted the image. And finally it is recognized in the recognition process. Then it will convert the English text into Marathi in translation process Neural networks have been applied to various pattern classification and recognition. The input to a Kohonen algorithm is given to the neural network using the input neurons. And that input neurons get easily trained and having properties like topological ordering and good generalization. Neural network training process generally fall into the categories of supervised training is accomplished by giving the neural network to set of sample data. Supervised training is the most common form of neural network training. It is mainly designed for people who are unable to read any type of text documents. It uses smart mobile phones of android platform. Keywords Character recognition module, segmentation, pre-processing, scanning, feature extraction output 2015, IJCSMC All Rights Reserved 483

I. INTRODUCTION With recent widespread application of computers and multimedia technologies, there is an demand increasing to create a paperless environment. English language is frequently used in India. Character recognition is complex task. Many researchers have done lots of work in this field but, 100% accuracy is not achieved. Most of the work is done using OCR technique which takes scanned images as input and further recognize the characters.ocr with Neural Network is used for recognizing and then converting the character in the language that user want. Neural networks are particularly useful for solving problems that cannot be expressed as a series of steps, such as recognition patterns, classifying into groups, series prediction and data mining.. The neural network is presented a pattern. This could be an any type of image, a sound, or any other sort of data. The neural network then attempts to determine if the input data matches a pattern that the neural network has memorized. Neural network is an information processing unit that is much inspired by the way the human brain works. The human brain consists of an intricate web of billions of interconnected cells called neurons. In Neural Network the information is processed in parallel all neurons work simultaneously. The goal of pattern recognition is to provide reasonable answer of the input. There are numerous methods for using neural networks depending on the type of application to be developed. Kohonen Neural Network algorithm can be used. It contains two layer of processing the input layer, and the output layer. The system is mainly working on OCR system which is mainly depending on recognition of English character. In this system we are present a technique to recognize an English Typed Character in the form of an Image using Kohonen neural network. The recognition process will be done with the help of neural networks. Using Neural Network we improve the performance in terms of time and to get closer result. II. PROPOSED SYSTEM OCR technology is allows the conversion of image which is scanned of printed character into text or any other information that user want using android mobile. OCR technology uses three phases first is Scanning of documents as optical images. Next is Recognition which involves converting those images to character streams representing letters of recognized words and the final element used to accessing or storing the text which are already converted. Converted text is nothing but the extracted text. When, the user begins by capturing an image using mobile camera containing text.to convert extracted text into the Marathi text synthesizer is used. In very first step analyses text is done, pronounceable form is done using transforms text. Speech synthesizer are use to performs conversion of English text into Marathi text. Most of the character recognition systems will be recognized through the input image with computer software. There is a large amount space require for computer software and scanner. In order to overcome this problem of computer and scanner occupying a large space, optical character recognition (OCR) system based on android phone is proposed. To overcome this problem with large spacing scanner and computer software, Optical Character Recognition OCR based on android phone camera is used. Because the performances of smart phone is high than computer. III. ARCHITECTURE OF CHARACTERS RECOGNITION Optical Character Recognition is creative process the designer may view the characters. Recognition in different structures, concepts and relations. Character recognition Process involves various phases and procedures. There is no standard approach for constructing the same. The new approach is to discuss about the construction of OCR using Neural Network in a efficient way. Our approach to construct OCR adapts the different phases. The figure1- depicts the OCR development life cycle. 2015, IJCSMC All Rights Reserved 484

IV. PHASES INVOLVES IN OCR CONSTRUCTION USING NEURAL NETWORK Construction of OCR adapts one life cycle which requires following set of phases. Each phase which has its own purpose and it is discuss below: Fig.1 Life Cycle of OCR Construction 1. Scanning: This application i.e. OCR system uses Android mobile camera. Camera captures image of document. This is nothing but the process of scanning. In short we can say that scanning makes original document as digital image. Generally, original documents are made up of the black coloured text print on the white coloured background. Scanning comes with thresholding which makes the digital image as gray scale image. Thresholding is the process which converts multi level image into bi-level image i.e. black and white image. Fixed threshold level is defined in thresholding. If the Gray levels are below the threshold level, identified as black. Where as if Gray level is above the threshold level, identified as white. This results in saving memory space and computational efforts. 2. Segmentation: The process of locating regions of printed or handwritten text is segmentation. Segmentation splits text from figures and graphics. When the text is segmented, it isolates characters or words. The mostly occurred problem in segmentation is it causes confusion between text and graphics in case of joined and split characters. Usually, splits and joints in the characters causes due to scanning. If document is dark photocopy or if it scanned at low threshold, joints in characters will occur. And splits in characters will occur if document is light photocopy or scanned at high threshold. OCR system also gets confused during segmentation when characters are connected to graphics. Fig.2 Segmentation using Matrix 2015, IJCSMC All Rights Reserved 485

3. Pre-processing: As we seen above, some blur image may occur during scanning process. This results in poor recognition of characters. This usually occurred problem is overcomes by pre-processing. It consists of smoothing and normalization. In smoothing, certain rules are applied to the contents of image with the help of filling and thinning techniques. Normalization is responsible to handle uniform size, slant of characters. 4. Feature Extraction: In pattern recognition feature extraction is a special form of dimensionality reduction. When the input data is too large to be processed and it takes more space input data will be transformed into a reduced representation of features. Feature extraction is transforming the input data into the set of features. If the features extracted are properly chosen it is expected that the features set will extract the relevant information from the input data in order to perform the desired task using this reduced representation instead of the full size input. It extracts the features of text image. Features are nothing but the characteristics. The feature extraction technique does not match different character patterns, but rather makes note of abstract features present in a character such as intersections, open spaces, lines, etc. Feature extraction is concerned with the representation of the symbols. The character image is higher level by extracting of special characteristics of the image in this phase. 5. Recognition: OCR system works with kohonen algorithm which recognizes characters. Word by word recognition of characters is done of the lines. Recognition involves converting these images to character streams representing letters of recognized words In short, recognition extracts text from images of documents. 6. Output:- The output of the system will be clear binarized image by using image segmentation and kohonen algorithm. And the output of that system is the conversion of English text into Marathi language. V. ROLE OF KOHONEN ALGORITHM IN NEURAL NETWORK Kohonen neural network differs both in how it is trained and how it recalls a pattern. Output from the Kohonen neural network does not consist of the output of several neurons. One of the output neurons is selected as a "winner". This "winning" neuron is the output when a pattern is presented to a Kohonen network. Often these "winning" neurons represent groups in the data that is presented to the Kohonen network[6]-[7]. Fig.3 System Architecture 2015, IJCSMC All Rights Reserved 486

VI. HOW KOHNEN WORK WITHIN NEURAL NETWORK The Kohonen neural network contains only an input and output layer of neurons. The input to a Kohonen neural network is given to the neural network using the input neurons. These input neurons which are giving the floating point numbers that make the input pattern to a Kohonen network requires that these inputs be normalized to the range between -1 and 1. Presenting an input pattern to the network will cause a reaction from the output neuron. In a Kohonen neural network only one of the output neurons actually produces a value. Additionally, this single value is either true or false. One single output neuron is chosen as the output neuron When the pattern is presented to the Kohonen neural network. Fig.4Kohonen Neural Network VII. STEPS FOR NEURAL NETWORK WITH KOHONEN ALGORITHM I) Normalizing the Input The Kohonen neural network requires that its input be normalized. To normalize the input we must first calculate the "vector length" of the input data, or vector. This is done by summing the squares of the input vector. In this case it would be. (0.5 * 0.5) + (0.75 * 0.75) This would result in a "vector length" of 0.8125. If the length becomes too small, say less than the length is set to that same arbitrarily small value. In this case the "vector length" is a sufficiently large number. Using this length we can now determine the normalization factor. The normalization factor is the reciprocal of the square root of the length. For our value the normalization factor is calculated as follows [6]. This results in a normalization factor of 1.1094. This normalization process will be used in the next step where the output layer is calculated [6]. II) Calculating Each Neuron's Output To calculate the output the input vector and neuron connection weights must be considered of both. First calculate the dot product of neurons and their weight must be calculated. The Kohonen algorithm specifies that we must take the dot product of the input vector and the weights between the input neurons and the output neurons. The Kohonen algorithm which is specified that we first take the dot product of input vector and weight of input neuron with output neuron. 2015, IJCSMC All Rights Reserved 487

The result of this is as follows. As the above calculation the dot product would be 0.395. This calculation will be performed for the very first output neuron. This calculation will be done for each of the output neurons. Then the output normalize by multiplying it with normalization factor which was determined in previous steps You must now multiply the dot product of 0.395 by the normalization factor of 1.1094. This results in an output of 0.438213. Now that the output has been calculated and normalized it must be mapped to a bipolar number [6]. III) Mapping to Bipolar Bipolar number is nothing but the another way of representing the binary number. In the bipolar system the binary zero is from -1 and the binary remains a 1.Because of this we must perform similar normalization of the output neurons. To make this mapping we must add one and divide the result in half manner. For the output of 0.438213 this would result in a final output of 0.7191065.The value 0.7191065 is the output of the first neuron. This value will be compared with the outputs of the other neuron. By comparing these values we can determine a "winning" neuron [6]. IV) Choosing the Winner By comparing all output neurons we choose the output of winning whose bipolar factor is maximum that other output neurons[6]. VIII. IMPLEMENTATION In this system we first take the image by using android camera. Convert the image into binary matrix. After creating the digitized binary matrix from the input character image, the detection of boundary is very much important to recognize character correctly. After that and it identifies the pattern of character is recognized. The Neural Network is used for boundary detection. The boundary detection procedure is therefore given by 1. For top boundary detection, scan the character matrix starts at the top-left corner and remove all rows from top having only 0 s. To detect top boundary there must be at least two consecutive 1 s in two consecutive rows. Then the first row of the two consecutive rows from top will be selected as top boundary. 2. For bottom boundary detection, scan the character matrix starts at the bottom-left corner and remove all rows from bottom having only 0 s. To detect bottom boundary there must be at least two consecutive 1 s in two consecutive rows. Then the first row of the two consecutive rows from bottom will be selected as bottom boundary. 3. For left boundary detection, scan the character matrix starts at the top-left corner and remove all columns from left having only 0 s. To detect left boundary there must be at least two consecutive 1 s in two consecutive columns. Then the first column of the two consecutive columns from left will be selected as left boundary. 4. For right boundary detection, scan the character matrix starts at the top-right corner and remove all columns from right having only 0 s. To detect right boundary there must be at least two consecutive 1 s in two consecutive columns. Then the first column of the two consecutive columns from right will be selected as right boundary. In below figure, we show the binary matrix of the sample character 2 and Z after detecting boundary. Then by using kohonen Neural Network normalization perform on the matrix. Normalization is the process of equating the size of all extracted character bitmaps (binary array).for size invariant character recognition, we have converted the boundary detected input character matrix into 12 8 normalized matrix. The normalization procedure is as follows: Take top row and left column assuming they contain salient features. Then take alternate row and column until desired 12 8 character matrix is found. For example, the size of input character (after boundary detection) is 15 11.Then during normalization, a. takes first row b. delete row 2, 4,6 c. Take the entire remaining row d. Converted the matrix to 12 11 Similar process for column as in ii (a-d). Finally the matrix is converted to 12 8. After that train a sample for character. Then create 12 by 8weight matrix for sample (take a positive weight for 1 position and negative weight for 0 position of input character)i.e. normalized the input neurons. Then kohonenneural Network calculate the weighted sum Oi at each output neuron calculate the normalize factor of input neurons. The calculate the sum of positive weights Pwi of weight of matrix of each characteristics calculate output 2015, IJCSMC All Rights Reserved 488

for each neuron.then calculated the bipolar number using formula Yi-Oi/Pwi. This process is just for the first input neuron. Continue above process for remaining input neurons. After that chose winner output neuron whose binary number is maximum than all other output neurons. This winning neuron can give the accurate output which is recognizable character. IX. CONCLUSION In this system, we have proposed an artificial neural network-based simple colour and size invariant character recognition system to recognize English alphanumeric characters. Our proposed system gives excellent result for the character letters when they are trained and tested separately but produce satisfactory result when they are processed together. In addition our system is computationally inexpensive and easier to implement. And the is that the system will produce the conversion of English text into Marathi text. ACKNOWLEDGEMENTS The satisfaction that accompanies the successful completion of any task would be incomplete without mentioning the people who made it possible. We are grateful to a number of individuals whose professional guidance along with encouragement have made it very pleasant endeavor to undertake this project. We have a great pleasure in presenting the project Mobile Application With Optical Character Recognition Using Neural Network under the guidance of Prof. P.S. Kulkarni. We are truly Indebted and grateful to Head of the Department Prof. N. V. Alone for his valuable guidance and encouragement. We would also like to thank the Gokhale Education Society s R. H. Sapat College of Engineering, Management Studies and Research, Nashik-5 for providing the required facilities, Internet access and important books. At last we must express our sincere heartfelt gratitude to all the Teaching and Non-teaching Staff members of Computer Engineering Department who helped us for their valuable time, support, comments, suggestions and persuasion. REFERENCES [1]Ankur Gupta_ and Lyle N. Long, Character Recognition using Spiking Neural Networks Presented at IEEE Neural Networks Conference, Orlando, FL, Aug., 2007. [2]Recognition of Handwritten Devnagari Characters through Segmentation and Artificial neural networks International Journal of Engineering Research & Technology (IJERT) Vol. 1 Issue 6, August - 2012 ISSN: 2278-0181. [3]Journal of Pattern Recognition Research 2 (2011) 269-277 Received December 12, 2009. Accepted September 14, 2011. [4]DeepaliThombre, ToranVerma, Neural Network Approach to Recognize Online Handwriting Script, 1,2RCET, Bhilai C.G., India IJECT Vol. 2, Issue 4, Oct. - Dec. 2011 [5] Review of Handwritten Pattern Recognition of Digits and Special characters using Feed Forward Neural Network and Izhikevich 2014 International Conference on Electronic Systems, Signal Processing and Computing Technologies [6]NeilaMezghani, AmarMitiche, MohamedCheriet,On-line recognition of handwritten Arabic characters using A Kohonen neural network, IEEE 0-7695-1692-0/02,2002. [7]RavinaMithe, SupriyaIndalkar, NilamDivekar, Optical Character Recognition, International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-2, Issue-1, March 2013 2015, IJCSMC All Rights Reserved 489