SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language...

24
UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRIK (FKE) PROJECT REPORT FINAL YEAR PROJECT 2 SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB PEOPLE MOHD FAREED ASYRAF BIN MOHD HASNI B011110294 BACHELOR OF MECHATRONICS ENGINEERING JUNE 2015

Transcript of SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language...

Page 1: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

FAKULTI KEJURUTERAAN ELEKTRIK (FKE)

PROJECT REPORT

FINAL YEAR PROJECT 2

SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB PEOPLE

MOHD FAREED ASYRAF BIN MOHD HASNI

B011110294

BACHELOR OF MECHATRONICS ENGINEERING

JUNE 2015

Page 2: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

“I hereby declare that I have read through this report entitle “Sign Language Recognition

System for Deaf and Dumb People” and found that it has comply the partial fulfillment for

awarding the degree of Bachelor of Mechatronic Engineering.”

Signature : …………………………………………………

Supervisor’s name : …………………………………………………

Date : …………………………………………………

Page 3: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB PEOPLE

MOHD FAREED ASYRAF BIN MOHD HASNI

A report submitted in partial fulfillment of the requirements for the degree of

Bachelor of Mechatronics Engineering

Faculty of Electrical Engineering

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

2015

Page 4: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

I declare that this report entitle “Sign Language Recognition System for Deaf and Dumb

People” is the result of my own research except as cited in the references. The report has

not been accepted for any degree and is not concurrently submitted in candidature of any

other degree.

Signature : ……………………………………………………

Name : ……………………………………………………

Date : ……………………………………………………

Page 5: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

To my beloved mother and father

Page 6: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

i

Page 7: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

ii

ACKNOWLEDGEMENT

Bissmillahirrahmanirrahim.

Alhamdulillah. Thanks to Allah SWT, whom with His willing giving me the

opportunity to complete this Final Year Project. I hereby would like to take this

opportunity to thank all persons who has involved generously in helping me and assisting

me while I was completing the final year project 2 which is a compulsory to all Universiti

Teknikal Malaysia Melaka (UTeM) students in order to complete our degree.

I would firstly to express my deepest gratitude and thanks to my project supervisor,

Dr. Ahmad Zaki bin Haji Shukor for his undivided support morally and physically,

assistance, guidance, tolerance, which proved to be invaluable as to completion my final

year project 2.

Deepest thanks and appreciation to my colleagues who spent sleepless nights, for

their cooperation, encouragement, constructive suggestion and full of support for the report

completion, from the beginning till the end. A special thanks to my family. Words cannot

express how grateful I am to my mother, and father for all of the sacrifices that you’ve

made on my behalf. Your prayer for me was what sustained me thus far. Also thanks to my

friends and everyone, that have been contributed by supporting my work and help myself

during the final year project progress till it is fully completed.

Page 8: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

iii

ABSTRACT

Every normal human being sees, listens, and reacts to surrounding. There are some

unlucky individuals who does not have this important blessing. Such individuals, mainly

deaf and dumb, they depend on communication via sign language to interact with others.

However, communication with ordinary individuals is a major impairment for them since

not every typical people comprehend their sign language. Furthermore, this will cause a

problem for the deaf and dumb communities to interact with others, particularly when they

attempting to involve into educational, social and work environments. In this project, the

objectives are to develop a sign language translation system in order to assist the hearing or

speech impaired people to communicate with normal people, and also to test the accuracy

of the system in interpreting the sign language. For the methodology, several researches

have been done with a specific end goal to choose the best method in gesture recognition,

and the data glove approach may be the champion. The configuration of the data glove

includes 10 tilt sensor to capture the finger flexion, an accelerometer for recognizing the

orientation of the hand, Arduino Leonardo function as microcontroller and Bluetooth

module is use to establish connection between Arduino and mobile phone. The first

experiment is to test the performance of the tilt sensor. While second experiment is to test

the accuracy of the data glove in translating several alphabets, numbers and words from

Malaysian Sign Language. The result for the first experiment shows that tilt sensor need to

be tilted more than 85 degree to detect the tilt. The result for the second experiment shows

that total average accuracy for translating alphabets is 95%, numbers is 93.33% and

gestures is 78.33%. For the average accuracy of data glove for translating all type of

gestures is 89%.

Page 9: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

iv

ABSTRAK

Setiap manusia biasa melihat, mendengar dan bertindak balas terhadap

persekitaran. Terdapat beberapa individu malang yang tidak mempunyai kebolehan yang

penting ini. Individu itu, terutamanya pekak dan bisu, mereka bergantung kepada

komunikasi melalui bahasa isyarat untuk berinteraksi dengan orang lain. Walau

bagaimanapun, komunikasi dengan individu biasa adalah masalah besar bagi mereka

kerana tidak semua orang memahami bahasa isyarat mereka. Ini akan menyebabkan

kekangan untuk orang pekak dan bisu untuk berinteraksi dengan orang lain, terutamanya

apabila mereka cuba untuk melibatkan diri dalam persekitaran pendidikan, sosial dan

bekerja. Dalam projek ini, objektifnya adalah untuk membangunkan satu sistem

penterjemahan bahasa isyarat untuk membantu individu yang mempunyai masalah

pendengaran atau pertuturan untuk berkomunikasi dengan orang normal, dan juga untuk

menguji ketepatan sistem dalam mentafsir bahasa isyarat. Untuk kaedah ini, beberapa

kajian telah dilakukan bagi memilih kaedah terbaik untuk mentafsir isyarat, dan

pendekatan sarung tangan data telah menjadi pilihan. Konfigurasi sarung tangan data

termasuk 10 sensor kecondongan untuk menangkap gerakan jari, pecutan untuk mentafsir

orientasi tangan, Arduino Leonardo berfungsi sebagai pengawal mikro dan modul

Bluetooth digunakan untuk mewujudkan komunikasi antara Arduino dan telefon mudah

alih. Eksperimen pertama adalah untuk menguji prestasi sensor kecondongan. Eksperimen

kedua adalah untuk menguji ketepatan sarung tangan data dalam menterjemahkan beberapa

huruf, nombor dan perkataan daripada Bahasa Isyarat Malaysia. Keputusan untuk

eksperimen pertama menunjukkan bahawa sensor kecondongan perlu condong lebih

daripada 85 darjah untuk mengesan kecondongan. Keputusan untuk eksperimen kedua

menunjukkan bahawa jumlah ketepatan purata untuk menterjemahkan huruf ialah 95%,

nombor adalah 93.33% dan perkataan adalah 78.33%. Untuk ketepatan purata sarung

tangan data untuk menterjemahkan semua jenis gerak isyarat adalah 89%.

Page 10: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

v

TABLE OF CONTENTS

CHAPTER TITLE PAGE

ACKNOWLEDGEMENT ii

ABSTRACT iii

TABLE OF CONTENTS v

LIST OF TABLES viii

LIST OF FIGURES ix

LIST OF ABBREVIATIONS x

LIST OF APPENDICES xi

1 INTRODUCTION 1

1.1 Project background 1

1.2 Motivation 2

1.3 Problem statement 3

1.4 Objective 4

1.5 Project scope 4

2 LITERATURE REVIEW 5

2.1 Gesture recognition method 5

2.1.1 Data-glove approach 6

Page 11: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

vi

2.1.2 Visual-based approach 7

2.1.3 Virtual button 9

2.1.4 Comparison of gesture recognition method 10

2.1.5 Selection of gesture recognition method 11

2.2 Hardware implementation 11

2.2.1 Tilt sensor 11

2.2.2 Accelerometer 13

2.2.3 Arduino microcontroller 14

3 METHODOLOGY 15

3.1 Introduction 15

3.2 Project activity and planning 16

3.2.1 Milestone 17

3.3 Development process 17

3.3.1 Process flow chart 18

3.3.2 Components for the project 21

3.3.2.1 2Tilt sensor 21

3.3.2.2 3-axis Accelerometer 22

3.3.2.3 Arduino Leonardo 23

3.3.2.4 Bluetooth module HC-05 24

3.3.2.5 BlueTerm application 25

3.3.3 Hardware layout 26

3.3.4 Program code for the system 27

Page 12: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

vii

3.4 Experimental setup 32

3.4.1 Experiment 1: To test tilt sensor performance 32

3.4.2 Experiment 2: Data glove accuracy test 33

4 RESULT AND DISCUSSION 34

4.1 Introduction 34

4.1.1 Experiment 1 35

4.1.2 Experiment 2 38

5 CONCLUSION AND RECOMMENDATION 42

5.1 Conclusion 42

5.2 Recommendation 42

REFERENCES 43

APPENDICES 45

Page 13: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

viii

LIST OF TABLES

TABLE TITLE PAGE

2.1 Comparison of gesture recognition method 10

3.1 Activity scheduling 17

3.2 List of gestures to be translated 20

4.1 Result of tilt angle 36

4.2 Number of successful attempt per candidate and gesture 38

4.3 Average accuracy for each candidate and type of gesture 39

4.4 Average successful percentage for each candidate 40

Page 14: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

ix

LIST OF FIGURES

FIGURE TITLE PAGE

1.1 Ratio of total Malaysian citizen 3

2.1 Data glove with flex sensors 6

2.2 Colour-coded gloves 7

2.3 Image acquisition 8

2.4 Wave forms of gestures; HOLD, REASE, BYE, HI and WAVE 9

2.5 Operation of tilt sensor 12

2.6 Representation of three axis used in accelerometer measurements 13

2.7 Example of Arduino microcontroller board 14

3.1 Flow chart for whole project 16

3.2 Process flow chart 18

3.3 Data glove wear by the signer 19

3.4 Screenshots of BlueTerm application 20

3.5 Tilt sensor 21

3.6 ADXL335 triple axis accelerometer 22

3.7 Arduino Leonardo 23

3.8 Bluetooth module HC-05 24

3.9 BlueTerm logo 25

3.10 Hardware layout 26

3.11 Tilt sensor experiment 32

3.12 Candidates performing the sign gestures 33

4.1 After LED is OFF 35

4.2 Graph of tilt sensor performance 37

4.3 Graph of successful attempt for each candidate and gesture 38

4.4 Graph of accuracy for each candidate and type of gesture 40

4.5 Bar chart of successful rate for each candidate 41

Page 15: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

x

LIST OF ABBREVIATIONS

AC - Alternating current

ARM - Advanced RISC Machines

AVR - Automatic Voltage Regulation

DC - Direct current

IR - Infrared

kg - Kilogram

LCD - Liquid Crystal Display

MSL - Malaysian Sign Language

RGB - Red-Green-Blue

s second

USB - Universal Serial Bus

Page 16: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

xi

LIST OF APPENDICES

APPENDIX TITLE PAGE

A Accelerometer datasheet 45

B Tilt sensor datasheet 46

C Arduino Leonardo schematic 49

D Bluetooth module HC-05 PINs description 50

E Data glove circuit configuration 53

F Raw data of experiment 2 results 54

G Example of sign language gestures 58

Page 17: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

1

CHAPTER 1

INTRODUCTION

1.1 Project Background

Each individual utilize language to communicate with others. The listening to

disabled individuals likewise utilize language to communicate among themselves. Sign

language is basically utilized by hearing impaired people to communicate with each other,

developed by deaf communities. Communication through signing is a very organized non-

verbal language using both non-manual and manual correspondence. Non manual signals

are essentially outward appearance, head movement, stance and orientation of the body.

While manual signals incorporate movement and orientation of hand that passes on typical

significance [1].

On the other hand, communication with typical individuals is a major impediment

for them since not every ordinary people comprehend their gesture based communication.

To beat this issue, sign language recognition system is expected to assist the deaf and mute

people to communicate with normal people. In Malaysia, Malaysian Sign Language (MSL)

is the communication via gestures that is generally utilized by the deaf community. Hence,

the design of the sign language recognition system will be based on the MSL, in order to suit

the local people environment.

Page 18: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

2

In this project, the technologies for hand gesture recognition is by using data-glove

approach which use special glove-based device to extract hand posture. The glove will utilize

Arduino microcontroller as the processor, and tilt sensors and accelerometer as the sensors

to identify hand pose that represent an alphabet, number and several words from Malaysian

Sign Language. The translation of the gesture will be displayed on mobile phone.

1.2 Motivation

Each ordinary individual sees, tunes in, and responds to encompassing.

Notwithstanding, there are some less blessed individuals who are denied of this important

blessing. Such individuals, mainly deaf and dumb, they depend on sign language to

communicate with others. Statistic shows that about 9 billion people in this world are deaf

and dumb [2]. In Malaysia, there are about 2.8 million people who have disabilities [3].

Interactions between deaf-dumb people and normal people have always been a troublesome

assignment. Generally, not every ordinary people comprehend the communication through

sign language utilized by the weakened. . This makes an almost no space for them as

communication is one of the necessity of life. Furthermore, this will cause a problem for the

deaf and dumb communities to interact with others, particularly when they attempting to

coordinate into instructive, social and workplaces. To conquer this issue, a sign language

recognition system must be developed with a specific end goal to kill the imperative between

the ordinary and debilitated individual.

The main goal of this project is to develop sign language translation system that can

translate the sign language into text. Since not every typical people being educate with

communication through signing, this system will help them to comprehend the language of

deaf and dumb people so that will give points of interest to them in conducting their daily

tasks ahead. The Figure 1.1 shows the ratio of Malaysian citizen from the normal to the

person with disability. The disability includes deaf, dumb, blind and physical handicap.

Page 19: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

3

Figure 1.1: Ratio of total Malaysian citizen [3].

1.3 Problem statement

Despite the fact that the deaf and dumb people can impart without issues amongst

themselves, there is serious challenge for the hearing impaired person trying to communicate

with normal people. This is because not every single typical people can comprehend their

gesture based communication. The greater part of ordinary individuals has not been taught

about the sign language. As communication is imperative, this issues inevitably makes a

limitation for the impaired individuals to correspond with the normal. Therefore, a sign

language translator must be developed to tackle those issues. At present, there are numerous

techniques for capturing and recognizing the hand gestures. However, every technique has

their own favourable circumstances and inconveniences. In order to develop a gesture

recognizing device, the best method for capturing the hand posture need to be contemplated

and chose.

90%

10%

Malaysian citizen

Normal person

Person with disabilities

Page 20: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

4

1.4 Objective

The main objective of this project is to design a system that can assists the impaired

people to communicate with normal people. This project also aims to meet the following

objectives:

i. To develop gesture recognizing system that can recognize sign gesture of

Malaysian Sign Language and translate it into text.

ii. To test the accuracy of the system.

1.5 Project scope

The scope for this project are as followed:

i. Sign language recognition system for deaf and mute people.

ii. The sign language used is Malaysian Sign Language.

iii. This project implement a data glove that use a tilt sensor and accelerometer.

Page 21: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

5

CHAPTER 2

LITERATURE REVIEW

This section reviews the research on the important elements in developing the sign

language recognition device. The first research study focuses on gesture recognition method

for detecting the movements of the hand. The second research study discusses the hardware

that will be used in this project.

2.1 Gesture recognition method

Nowadays, automatic sign language translation systems generally use two

approaches, which are data-glove and visual-based approaches [1]. However, new hand

gesture recognition method has been introduced, called virtual button [4]. This section will

clarify the detail about all methods of gesture recognizing and the comparison between these

methods.

Page 22: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

6

2.1.1 Data-glove approach

The data-glove approach utilize a unique assembled electronic glove, which has in-

fabricated sensors that utilized to distinguish the hand stance. Most commercial sign

language translation systems use the data-glove method, as it simple to acquire data on the

bending of finger and 3D orientation of the hand using gloves [1]. The framework require

less computational force, and continuous interpretation is much simpler to accomplish. The

data glove is outlined with ten flex sensors, two on every finger [5]. The flex sensors work

as variable resistance sensor that change resistance as indicated by the sensor's flexing [6].

These sensors can recognize the bending point of every joint of the fingers and send the

information to microcontroller. It is mounted in the outer layer of the data glove, from the

association joints of fingers and palm to fingertips.

Furthermore, to expand the exactness in recognizing the hand pose, a 3-axis

accelerometer is utilized to identify the change of acceleration of hand's movement in

distinctive bearings [7]. The accelerometer is attached on the back of the data glove. The

data glove is exceptionally suitable in perceiving both fingerspelling and sign motions,

which include static and movement signs. However, these data glove can be expensive.

While it is conceivable to create less expensive data glove, they are much more vulnerable

to noise. If the amount of the sensors used is reduced, it will bring about loss of essential

data about the hand stance. This will results in the loss of exactness in sign interpretation

[1]. The data glove also can be less comfortable to be worn by the signer.

Figure 2.1: Data glove with flex sensors [2].

Page 23: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

7

2.1.2 Visual-based approach

With late progression in PC and data innovation, there has been an expanded regard

for visual-based methodology. Images of the signer is captured by a camera and video

processing is done to perform acknowledgment of the sign language. Contrasted with data

glove approach, the fundamental advantage of visual-based methodology is the adaptability

of the framework. The recognition of facial expression and head movements additionally

can be incorporated to the framework and perform lip-perusing. This system can be

separated into two strategy, which are utilization hand crafted shading gloves and in light of

skin-colour recognition.

For the specially crafted glove, the signer is furnished with colour-coded gloves. The

colour will give the extraction of information from the images of the signer through colour

segmentation. These gloves are essentially normal pair of glove with particular shading on

every fingertip and palm. Some way or another, these gloves are less expensive contrasted

with electronic data gloves. This system is use insignificant equipment by utilizing just

essential webcam and basic glove. Webcam is used to acquire images from the signer in type

of still images and video streams in RGB (red-green-blue) shading.

.

Figure 2.2: Colour-coded gloves [1].

Page 24: SIGN LANGUAGE RECOGNITION SYSTEM FOR DEAF AND DUMB …eprints.utem.edu.my/18235/1/Sign Language Recognition System For Deaf... · I declare that this report entitle “Sign Language

8

For the recognition based on skin-colour, the framework require just a camera to

catch the pictures of the signer for the normal collaboration in the middle of human and

computer and no additional gadgets are needed. It is turn out to be more common and helpful

for constant applications. This system utilize an uncovered hand to concentrate information

required for recognition, and it is simple, and the user directly communicate with the system

[2]. In order to track the position of hand, the skin colour region will be fragmented utilizing

colour threshold technique, then the region of interest can be determined. The image

acquisition runs constantly until the signer demonstrates a stop sign [8]. After the threshold,

the segmented images are then analysed to obtain the unique features of each sign.

Figure 2.3: Image acquisition [8].

These visual-based approaches are fundamentally minimizing the equipment

necessities and cost. However, these systems are just suitable and viable for deciphering

alphabets and numbers, as opposed to perceiving sign gestures. Signs with comparable

stance to another sign can be confused, along these lines diminishing the precision of the

system [8]. Moreover, the image acquisition process is subjected to numerous ecological

concerns, for example, position of the camera, background condition and lighting

affectability. The diverse tallness of the signer likewise must consider. Adequate lighting

additionally required to have enough brightness to be seen and analysed [1].