Attendance Management System Using Fingerprint Scanner.

(1)

i

ATTENDANCE MANAGEMENT SYSTEM USING FINGERPRINT SCANNER

ROSHAZIRA BINTI AHMAD

This report is submitted in partial fulfillment of the requirements for the award of Bachelor of Electronic Engineering (Computer Engineering)

With Honours

Faculty of Electronic and Computer Engineering Universiti Teknikal Malaysia Melaka


(2)

ii

UNIVERSTI TEKNIKAL MALAYSIA MELAKA

FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER

BORANG PENGESAHAN STATUS LAPORAN PROJEK SARJANA MUDA II

Tajuk Projek :

ATTENDANCE MANAGEMENT SYSTEM USING FINGERPRINT SCANNER

Sesi

Pengajian : 2008/2009

Saya ROSHAZIRA BINTI AHMAD

mengaku membenarkan Laporan Projek Sarjana Muda ini disimpan di Perpustakaan dengan syarat-syarat kegunaan seperti berikut:

1. Laporan adalah hakmilik Universiti Teknikal Malaysia Melaka.

2. Perpustakaan dibenarkan membuat salinan untuk tujuan pengajian sahaja.

3. Perpustakaan dibenarkan membuat salinan laporan ini sebagai bahan pertukaran antara institusi pengajian tinggi.

4. Sila tandakan ( ) :

SULIT*

(Mengandungi maklumat yang berdarjah keselamatan atau kepentingan Malaysia seperti yang termaktub di dalam AKTA RAHSIA RASMI 1972)

TERHAD* (Mengandungi maklumat terhad yang telah ditentukan oleh

organisasi/badan di mana penyelidikan dijalankan)

TIDAK TERHAD

Disahkan oleh:

__________________________ ___________________________________

(TANDATANGAN PENULIS) (COP DAN TANDATANGAN PENYELIA)

Alamat Tetap: NO. 19, FELDA KERTEH 03,

23100 PAKA, TERENGGANU.


(3)

iii

“I hereby declare that this report is a result of my own work except for the excerpts that have been cited clearly in the references”

Signature :

Name : Roshazira Binti Ahmad


(4)

iv

“I hereby declare that I have read this report and in my opinion this report is sufficient in terms of scope and quality for the award of Bachelor of Electronic

Engineering (Computer Engineering) With Honours.”

Signature :

Supervisor’s Name : Mr. Zulkiflee Bin Shariff


(5)

v


(6)

vi

ACKNOWLEDGEMENT

First and foremost, I am very grateful to the almighty ALLAH S.W.T for giving me the key and opportunity to accomplish my Final Year Project.

I am greatly and profoundly thankful to my supervisor Mr. Zulkifli Sharif for encouragement, guidance, critics, friendship, advice, information and motivation to me. Without them, this project will be not complete.

Secondly, I wish to thank lecturers, staff and technicians, for their cooperation, indirect or directly contribution in finishing my project. My sincere appreciation also to all my friends who have involved and helped me in this project. Besides that, thanks to University Teknikal Malaysia Melaka (UTeM) for funding my degree study. Also thanks to Librarians at UTeM for their assistance in supplying the relevant literatures and guiding me in using e-journal.

Further the acknowledgement would be incomplete if not mention a word of thanks to my beloved parents whose continuous support and encouragement all the way through the course has led met pursue the degree and confidently complete the project.


(7)

vii

ABSTRAK

Projek ini adalah untuk merekabentuk dan membangunkan system merekod dan mengesan kehadiran pelajar berasaskan pengenalan cap jari yang boleh memantau kehadiran pelajar secara elektronik. Pengenalan cap jari memberi sistem keselamatan yang berkesan sekaligus dapat mengurangkan banyak masalah serta menggantikan sistem manual sedia ada yang menggunakan kertas. Sistem ini akan dibangunkan dengan menggunakan antaramuka bergrafik yang lengkap dengan menggunakan program aturcara Microsoft Visual Studio 2005. Ia akan diintegrasikan dengan Microsoft Fingerprint Reader.


(8)

viii

ABSTRACT

This project is to design and develops a reliable tracking and recording systems based on biometric fingerprint identification used to monitor attendance. Biometric Access Control System also provides the highest level of security available today by eliminative the stolen, transferred and duplicating. It also will eliminate the problems related with manual work associated with paper based and punch card. The systems will be developed with extended GUI by using Microsoft Visual Studio 2005 integrated with Microsoft Fingerprint Reader which stores the login names and passwords in an internal database located in the user's computer. When needed, the device interactively sends the login names and passwords to compatible applications and websites which can be used to perform the login operation automatically. The device could be useful in an office or campus environment.


(9)

ix

TABLE OF CONTENT

CHAPTER TOPIC PAGE

PROJECT TITLE i

PSM II REPORT STATUS ii

DECLARATION iii

SUPERVISOR APPROVAL iv

DEDICATION v

ACKNOWLEDGEMENT vi

ABSTRAK vii

ABSTRACT viii

TABLE OF CONTENTS ix

LIST OF TABLE xii

LIST OF FIGURE xiii

LIST OF APPENDIX xv

1 INTRODUCTION

1.1 Introduction 1

1.2 Objective 2

1.3 Problem Statement 3

1.4 Scope of Work 3

1.4.1 Software 3

1.4.2 Hardware 4


(10)

x

II LITERATURE REVIEW

2.1 Microsoft Visual Studio 2005 6 2.2 Software Development Kit (SDK) 9

2.2.1 Key Features 10

2.3 Microsoft Fingerprint Reader 11

2.3.1 Functionality 12

2.4 Fingerprint 12

2.4.1 Fingerprints Used For Identification 13 2.4.2 Fingerprint Classification 15 2.4.3 Process of Fingerprint Identification 16 2.5 Example of Attendance Management System 18

2.5.1 System features (Functionality) 19 2.5.2 Development of Attendance System

of Students 21

III PROJECT METHODOLOGY

3.1 Flowchart 22

3.2 Planning 23

3.3 Research about the project 24

3.4 Software Development 25

3.4.1 Develop Interface using Microsoft Visual

Basic (.NET) 26

3.4.2 Coding the Application 27

3.4.3 Making a Database 36

3.5 Find the suitable Fingerprint Device for the project 40 3.6 Establish Connection between Database

System and Device 40


(11)

xi

IV RESULT AND DISCUSSION

4.1 Simulation Result 42

4.2 GUI (Graphic User Interface) 42

4.2.1 Login Form 43

4.2.2 Menu Option 45

4.2.3 Attendance Form 45

4.2.4 Database 48

4.3 Log files (CSV) 49

4.4 Discussion 50

V CONCLUSION AND RECOMMENDATION

5.1 Conclusion 53

5.2 Future Works 53

5.3 Suggestion for Improvement 54

REFERENCES 55


(12)

xii

LIST OF TABLE

NO TOPIC PAGE

Table 2.1 Feature for Fingerprint SDK 11 Table 2.2 Process of identification 17


(13)

xiii

LIST OF FIGURE

NO TOPIC PAGE

Figure 1.1 Microsoft Fingerprint Reader 4

Figure 1.2 Project planning 5

Figure 2.1 The relationship of various Visual Studio Editions 7 Figure 2.2 Microsoft Visual Studio 2005 8

Figure 2.3 The SDK Logo 9

Figure 2.4 Microsoft Fingerprint Readers 11 Figure 2.5 Pattern of fingerprint 13

Figure 2.6 Image Processing 14

Figure 2.7 Identification of Fingerprint 14 Figure 2.8 Classifying fingerprints 15

Figure 2.9 FingerFlex 18

Figure 2.10 Form of excuses 19

Figure 2.11 Friendly user Interface 19 Figure 2.12 Flexible scheduling time 20 Figure 2.13 Monitoring Attendance 20 Figure 2.14 Print the attendance 21 Figure 3.1 Project Flow Chart 23 Figure 3.2 Flowchart of Software Development 26 Figure 3.3 Window Application 27 Figure 3.4 Adding the GrFingerXCtrl 28


(14)

xiv

Figure 3.6 Log files (CSV) 29

Figure 3.7 Toolbox 31

Figure 3.8 Populating the default Form1 with all the controls 32

Figure 3.9 Menu Form 33

Figure 3.10 New Registration Menu Interface 34 Figure 3.11 Checking Attendance Interface 35 Figure 3.12 Print Report Interface 36

Figure 3.13 Enroll Table 37

Figure 3.14 Information in database 37 Figure 3.15 Create database and converting 38 Figure 3.16 Data source configuration wizard 38 Figure 3.17 Adding the source file (Microsoft Access file) 39 Figure 3.18 Database added as source 39

Figure 4.1 Login Form GUI 43

Figure 4.2 Login Form Failed 44 Figure 4.3 Login Form Successful 44 Figure 4.4 Main Menu Option GUI 45 Figure 4.5 The Attendance Form 46 Figure 4.6 Fill the information needed 47

Figure 4.7 User identified 48

Figure 4.8 Microsoft Access Database 48 Figure 4.9 List Name From Database 49 Figure 4.10 Log scanning status 50


(15)

xv

LIST OF APPENDIX

NO TOPIC PAGE

APPENDIX A GANTT CHART 56

APPENDIX B SOURCE CODE 57

APPENDIX C EXAMPLE OF ATTENDANCE MANAGEMENT


(16)

1

CHAPTER 1

INTRODUCTION

1.1 Introduction

This project is to design and develops a reliable tracking and recording systems based on biometric fingerprint identification used to monitor attendance. Biometric Access Control System also provides the highest level of security available today by eliminative the stolen, transferred and duplicating. It also will eliminate the problems related with manual work associated with paper based and punch card. The systems will be developed with extended GUI by using Microsoft Visual Studio 2005 integrated with Microsoft Fingerprint Reader which stores the login names and passwords in an internal database located in the user's computer. When needed, the device interactively sends the login names and passwords to compatible applications and websites which can be used to perform the login operation automatically. The device could be useful in an office or campus environment.

This project is a combination of software and hardware. The project is to recognize fingerprint images and match within the database. The database need to be created and inside the database will contain information of the student likes the picture, name, matrix number and the course. In order creating the database, a programming codes is needed and the Microsoft Office Access is been used for this project.


(17)

2 The second step for this project after finishing the database is to make a connection with the hardware. The hardware that represent here is the Fingerprint Images Scanner Device. The database system will utilize with the hardware together with a software development kit. The established connection between the database and device will make the project successful.

The true work of the project is to match the information that store in database with the right fingerprint when the student using the device. This is means that for the first time, the student will be set to match with the right information of them in database. And the next time, the student used the device, its will automatically with the right information that been set earlier.

1.2 Objective

a) To design and develop attendance submission using Microsoft Visual Studio 2005 and Microsoft Fingerprint Reader

b) To provides the medium level of security available simply because Biometric Identifiers cannot be lost, transferred, duplicated, or stolen

c) To expose, learn and expand the knowledge in programming d) More cost-effective compared to card based systems

1.3 Problem Statement

At the moment, the current system in lecture or lab session, lecturer will pass the students name list to sign in for student who attends that class. Falsify of student signature is frequently and easily happened. So, to prevent this problem, it is ideal to develop the attendance management system using biometric fingerprint recognition that will monitor and record the attendance of every student in class. The barcode is easy to


(18)

3 produce and duplicate, but fingerprint is unique for everyone. So, this system is not developed based on current barcode system in student’s smart card.

1.4 Scope of Work

The scope of this project is to develop the Attendance Management Systems Using Fingerprint Scanner by using Microsoft Visual Studio 2005 software integrated with Microsoft Fingerprint Reader as an input. To make this reader to communicate with Microsoft’s.NET Framework, the GrFingerXCtrl Class toolbox provided by Griaule is used. Through this project, the research of biometric fingerprint algorithm will be explored widely. Besides that, Microsoft Visual Studio 2005 programming language with extended GUI will be use as an interface for design program. The design program includes the basic personal information database.

1.4.1 Software

Software development includes design the graphic user interface (GUI) using Microsoft Visual Basic. The GUI that has been done developed was the registration menu to store basic information, likes name, matrix number, photo, course, etc. This programming language is used to integrate with the Microsoft Fingerprint Reader as an input. To make this reader to communicate with Microsoft’s.NET Framework, the GrFingerXCtrl Class toolbox provided by Griaule is used. Visual Basic is designed to allow the program run under the windows without the complexity generally associated with windows programming. The design screen can holds standard windows button such as command buttons, check boxes, option buttons, text boxes and so on. Each of these windows object, operates as expected, producing a “standard” windows user interface. Visual Basic that recently appears as one of the most popular programming language is chose. It provided standard windows object and graphic user interface that will make the program become user friendly.


(19)

4

1.4.2 Hardware

Basically this project does not involve the development of hardware. The software is integrated with Microsoft Fingerprint Reader through USB interface. Using the Microsoft Fingerprint Reader, the GrFinger Software Development Kit toolbox provided by Griaule can be used as a key to retrieve the user IDs and passwords for logging into these systems.

Figure 1.1 Microsoft Fingerprint Reader

1.5 Project Planning

There are many phase in order to finish the project and achieve all the objectives. The first phase is focusing in software development, where there will be need in create a database system. The database system that contain the information of the students whether its will be a picture, name, matrix number and course been taken. The database is needed to be creating using a program.

For the second phase, the project will proceed in configuration the device. The device which is a fingerprint image scanner device is been used. The problem that might occur during the process is whether the database can utilize with the device. If there are


(20)

5 something error within the database that make it cannot work with the device. The process will move to the previous step by checking the programming if there any error and try to fix it.

The last phase after the connection between the database and the device has already established. The first time will be a set for the information which means to match the record in database with the right fingerprint. Then, the Identification Number will be set based of the fingerprint and for the next time when using the fingerprint, the database will match with the right database.

START PROJECT

Find information about the project

Learn about VB.NET and Microsoft Fingerprint Reader

Study the programming that use in this project

Build programming language

Test Programming with device

End project Display the result


(21)

6

CHAPTER 2

LITERATURE REVIEW

2.1 Microsoft Visual Studio 2005

Microsoft Visual Studio is the main Integrated Development Environment (IDE) from Microsoft. It can be used to develop console and Graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code as well as managed code for all platforms supported by:

¾ Microsoft Windows

¾ Windows Mobile

¾ NET Framework

¾ .NET Compact Framework

¾ Microsoft Silverlight

Visual Studio includes a code editor supporting IntelliSense as well as code refectory. The integrated debugger works both as a source-level debugger and a machine-level debugger. Other built-in tools include a forms designer for building GUI applications, web designer, class designer, and database schema designer. It allows plug-ins to be added that enhance the functionality at almost every level including adding


(22)

7 support for source control systems to adding new toolsets like editors and visual designers for specific languages.

Visual Studio supports languages by means of language services, which allow any programming language to be supported by the code editor and debugger. Its also provided a language-specific service has been authored include:

¾ C/C++ (via Visual C++)

¾ VB.NET (via Visual Basic .NET)

¾ C# (via Visual C#).

It also supports XML/XSLT, HTML/XHTML, JavaScript and CSS. Language-specific versions of Visual Studio also exist which provide more limited language services to the user. These individual packages are called Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++.


(23)

8 Visual Studio .NET can be used to make applications targeting Windows (using Windows Forms, part of the .NET Framework), Web (using ASP.NET and Web Services) and, with an add-in, portable devices (using the .NET Compact Framework).

Visual Studio 2005 was upgraded to support all the new features introduced in .NET Framework 2.0, including generics and ASP.NET 2.0. The IntelliSense feature in Visual Studio was upgraded for generics and new project types were added to support ASP.NET web services. Visual Studio 2005 also includes a local web server, separate from IIS that can be used to host ASP.NET applications during development and testing. It also supports all SQL Server 2005 databases.

Database designers were upgraded to support the ADO.NET 2.0, which is included with .NET Framework 2.0. C++ also got a similar upgrade with the addition of C++/CLI which is slated to replace the use of Managed C++. Other new features of Visual Studio 2005 include the "Deployment Designer" which allows application designs to be validated before deployments, an improved environment for web publishing when combined with ASP.NET 2.0 and load testing to see application performance under various sorts of user loads.


(24)

9 2.2 Software Development Kit (SDK)

A Software Development Kit (SDK or "devkit") is typically a set of development tools that allows a software engineer to create applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar platform.

It may be something as simple as an application programming interface in the form of some files to interface to a particular programming language or include sophisticated hardware to communicate with a certain embedded system. Common tools include debugging aids and other utilities often presented in an IDE. SDKs also frequently include sample code and supporting technical notes or other supporting documentation to help clarify points from the primary reference material.

A fingerprint SDK is a software toolkit that allows the integration of biometric fingerprint recognition into various applications. They will typically utilize either DLL or ActiveX (COM) to interface with the integrated application. By referencing these DLL or COM objects, developers are able to utilize the fingerprint functionality from within a desired application.

Fingerprint SDKs provide a basic framework of functions to talk to a fingerprint scanner, capture an image, extract the unique minutiae data from the image, and compare two sets of extracted minutiae data. All of the more complex features and functionality are built upon this framework.


(1)

1.4.2 Hardware

Basically this project does not involve the development of hardware. The software is integrated with Microsoft Fingerprint Reader through USB interface. Using the Microsoft Fingerprint Reader, the GrFinger Software Development Kit toolbox provided by Griaule can be used as a key to retrieve the user IDs and passwords for logging into these systems.

Figure 1.1 Microsoft Fingerprint Reader

1.5 Project Planning

There are many phase in order to finish the project and achieve all the objectives. The first phase is focusing in software development, where there will be need in create a database system. The database system that contain the information of the students whether its will be a picture, name, matrix number and course been taken. The database is needed to be creating using a program.

For the second phase, the project will proceed in configuration the device. The device which is a fingerprint image scanner device is been used. The problem that might occur during the process is whether the database can utilize with the device. If there are


(2)

something error within the database that make it cannot work with the device. The process will move to the previous step by checking the programming if there any error and try to fix it.

The last phase after the connection between the database and the device has already established. The first time will be a set for the information which means to match the record in database with the right fingerprint. Then, the Identification Number will be set based of the fingerprint and for the next time when using the fingerprint, the database will match with the right database.

START PROJECT

Find information about the project

Learn about VB.NET and Microsoft Fingerprint Reader

Study the programming that use in this project

Build programming language

Test Programming with device

End project Display the result


(3)

CHAPTER 2

LITERATURE REVIEW

2.1 Microsoft Visual Studio 2005

Microsoft Visual Studio is the main Integrated Development Environment (IDE) from Microsoft. It can be used to develop console and Graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code as well as managed code for all platforms supported by:

¾ Microsoft Windows ¾ Windows Mobile ¾ NET Framework

¾ .NET Compact Framework ¾ Microsoft Silverlight

Visual Studio includes a code editor supporting IntelliSense as well as code refectory. The integrated debugger works both as a source-level debugger and a machine-level debugger. Other built-in tools include a forms designer for building GUI applications, web designer, class designer, and database schema designer. It allows plug-ins to be added that enhance the functionality at almost every level including adding


(4)

support for source control systems to adding new toolsets like editors and visual designers for specific languages.

Visual Studio supports languages by means of language services, which allow any programming language to be supported by the code editor and debugger. Its also provided a language-specific service has been authored include:

¾ C/C++ (via Visual C++)

¾ VB.NET (via Visual Basic .NET) ¾ C# (via Visual C#).

It also supports XML/XSLT, HTML/XHTML, JavaScript and CSS. Language-specific versions of Visual Studio also exist which provide more limited language services to the user. These individual packages are called Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++.


(5)

Visual Studio .NET can be used to make applications targeting Windows (using Windows Forms, part of the .NET Framework), Web (using ASP.NET and Web Services) and, with an add-in, portable devices (using the .NET Compact Framework).

Visual Studio 2005 was upgraded to support all the new features introduced in .NET Framework 2.0, including generics and ASP.NET 2.0. The IntelliSense feature in Visual Studio was upgraded for generics and new project types were added to support ASP.NET web services. Visual Studio 2005 also includes a local web server, separate from IIS that can be used to host ASP.NET applications during development and testing. It also supports all SQL Server 2005 databases.

Database designers were upgraded to support the ADO.NET 2.0, which is included with .NET Framework 2.0. C++ also got a similar upgrade with the addition of C++/CLI which is slated to replace the use of Managed C++. Other new features of Visual Studio 2005 include the "Deployment Designer" which allows application designs to be validated before deployments, an improved environment for web publishing when combined with ASP.NET 2.0 and load testing to see application performance under various sorts of user loads.


(6)

2.2 Software Development Kit (SDK)

A Software Development Kit (SDK or "devkit") is typically a set of development tools that allows a software engineer to create applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar platform.

It may be something as simple as an application programming interface in the form of some files to interface to a particular programming language or include sophisticated hardware to communicate with a certain embedded system. Common tools include debugging aids and other utilities often presented in an IDE. SDKs also frequently include sample code and supporting technical notes or other supporting documentation to help clarify points from the primary reference material.

A fingerprint SDK is a software toolkit that allows the integration of biometric fingerprint recognition into various applications. They will typically utilize either DLL or ActiveX (COM) to interface with the integrated application. By referencing these DLL or COM objects, developers are able to utilize the fingerprint functionality from within a desired application.

Fingerprint SDKs provide a basic framework of functions to talk to a fingerprint scanner, capture an image, extract the unique minutiae data from the image, and compare two sets of extracted minutiae data. All of the more complex features and functionality are built upon this framework.