management systemmanagement systemmanagement systemmanagement systemmanagement systemmanag, Thesis of Database Programming

management systemmanagement systemmanagement systemmanagement systemmanagement system

Typology: Thesis

2021/2022

Uploaded on 08/17/2023

bishal-pariyar-1
bishal-pariyar-1 🇳🇵

1 / 103

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Smart Attendance Monitoring System Using
Computer Vision
Submitted in fulfillment of the academic requirements for the degree of
Master of Science in Engineering (Computer Eng.)
By
Louis MOTHWA
Student No. 217080040
Under the supervision of:
Prof. Jules-Raymond Tapamo
&
Dr Temitope Mapayi
University of Kwa-Zulu Natal
Examiner’s Copy
August 2019
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download management systemmanagement systemmanagement systemmanagement systemmanagement systemmanag and more Thesis Database Programming in PDF only on Docsity!

Smart Attendance Monitoring System Using

Computer Vision

Submitted in fulfillment of the academic requirements for the degree of

Master of Science in Engineering (Computer Eng.)

By

Louis MOTHWA

Student No. 217080040

Under the supervision of:

Prof. Jules-Raymond Tapamo

Dr Temitope Mapayi

University of Kwa-Zulu Natal

Examiner’s Copy

August 2019

UNIVERSITY OF KWAZULU-NATAL, COLLEGE OF AGRICULTURE, ENGINEERING AND SCIENCE DECLARATION

The research described in this thesis was performed at the University of KwaZulu-Natal under the supervision of Prof. Jules-Raymond Tapamo and. I hereby declare that all materials incorporated in this thesis are my own original work except where the acknowledgement is made by name or in the form of reference. The work contained herein has not been submitted in part or whole for a degree at any other university.

Signed:................................................... Name: Louis Mothwa Date: August 2019

As the candidate’s supervisor, I have approved this thesis for submission.

Signed:................................................... Name: Prof. Jules-Raymond Tapamo Date: August 2019

As the candidate’s co-supervisor, I have approved this thesis for submission.

Signed:....................................................... Name: Dr Temitope Mapayi Date: August 2019

i

UNIVERSITY OF KWAZULU-NATAL, COLLEGE OF AGRICULTURE, ENGINEERING AND SCIENCE DECLARATION 2 - PUBLICATIONS

I, Louis Mothwa, declare that the following publications from part of this dissertation.

  1. L. Mothwa, J.R. Tapamo, and T. Mapayi, Conceptual Model of the Smart Attendance Monitoring System Using Computer Vision, in Proceedings of the 2018 14th International Conference on Signal-Image Technology & Internet-Based Systems (SITIS),ISBN 978-1- 5386-9385-8, Las Palmas de Gran Canaria, Spain, 26-29 November 2018, pp. 229 - 234, November 2018.
  2. L. Mothwa, J.R. Tapamo, and T. Mapayi, Machine Learning Approach to Attendance Monitoring , Journal Article (in preparation).

Signed:..............................................................

iii

Acknowledgements

First I would like to thank God for giving me strength, wisdom, and understanding throughout my work.

This work was supported and funded by the Armaments Corporation of South Africa (Armsco). I am grateful to have this opportunity to fulfill my dreams.

I thank my Supervisors Prof J.R. Tapamo and Dr. T. Mapayi for their support, dedication, patience, and endless insight. This feat could not have been possible without your assistance. I am grateful to the University of KwaZulu-Natal students who offered to appear in the live experiments conducted to collect data to produce training and testing dataset’s used in this dissertation.

Lastly, I would like to thank my family and friends, for their emotional support and endless motivation, which encouraged me to be determined till the end.

iv

Contents

Declaration of Authorship i

List of Publications iii

Acknowledgements iv

Abstract v

Contents vi List of Figures viii

List of Tables x List of Algorithms xi

List of Acronyms xii

1 Introduction 1 1.1 Background....................................... 1 1.2 Overview of Computer Vision Systems and Applications.............. 3 1.2.1 Image Acquisition............................... 3 1.2.2 Image Processing................................ 4 1.2.3 Images Analysis................................. 4 1.3 Motivation........................................ 4 1.4 Problem Statement................................... 5 1.5 Research Aim and Objectives............................. 6 1.6 Scope Of The Study And Limitations......................... 6 1.7 Contributions...................................... 7 1.8 Overview........................................ 7 2 Literature Review 8 2.1 Introduction....................................... 8 2.2 Attendance Monitoring System Technologies..................... 9 2.2.1 RFID Authentication System......................... 9 2.2.2 Mobile Smart Attendance System....................... 9 2.2.3 Bluetooth Based Attendance Monitoring System.............. 10 2.2.4 Fingerprint Attendance Monitoring System................. 10 2.2.5 Attendance Monitoring Systems Using Face Recognition.......... 12 2.2.6 Multiple-Camera Positioning And Collaboration.............. 15 2.3 Face Recognition.................................... 17 2.3.1 Face Detection................................. 17 2.3.2 Image Pre-Processing............................. 20 2.3.3 Feature Extraction And Classification.................... 21 2.3.4 Global Feature Extraction And Classification Methods........... 21 2.3.5 Local Feature Extraction And Classification Methods............ 23 vi

Contents vii

List of Figures ix 4.6 Live scenarios captured from the UKZN classroom. The scenes shows the im-

  • 2.4 Summary
  • 3 System Modelling And Design
    • 3.1 Introduction
      • 3.1.1 Collection the Training Dataset
      • 3.1.2 System Architecture
        • 3.1.2.1 The Graphic User Interface (GUI)
        • 3.1.2.2 Face Recognition-Components
        • 3.1.2.3 Back End
    • 3.2 Summary
  • 4 Methods and Techniques
    • 4.1 Introduction
    • 4.2 Face Detection
      • 4.2.1 Multi-camera Architecture
    • 4.3 Image Pre-processing
    • 4.4 Feature Extraction
      • 4.4.1 Principle Component Analysis (PCA) for Eigen Features
      • 4.4.2 Fisherface Features
      • 4.4.3 The Local Binary Patterns
    • 4.5 Classification
      • 4.5.1 Euclidean Distance Euclidean Distance (ED)
      • 4.5.2 Support Vector Machine
      • 4.5.3 Naive Bayes Classifier
      • 4.5.4 Backpropagation Neural Network
    • 4.6 Summary
  • 5 Experimental Results And Discussion
    • 5.1 Introduction
    • 5.2 Experimental Setup
    • 5.3 Conclusion
  • 6 Conclusions and future work
    • 6.1 Summary of the Work
    • 6.2 Limitations of the System
    • 6.3 Future Works
  • Bibliography
  • Appendix
  • 1.1 Computer vision history time-line [102] List of Figures
  • 1.2 Generic architecture of computer vision system using face recognition
  • 2.1 A generic representation of the RFID system [93]
  • 2.2 Example of the student attendance management system using fingerprint [8]
  • 2.3 The overview of a face detection system [84]
  • 2.4 DBN multi-camera face recognition [7]
  • 2.5 The conceptual model of the three-fold attendance management system [65]
  • 2.6 Face recognition system and motion detection denoted by red lines [65]
  • 2.7 Computation of the target-point angle [64]
  • 2.8 Face side detected and fused using a CHM [42]
    • target object [83] 2.9 Calibration between two cameras, with measured angles and distance from the
  • 2.10 The flow diagram of the face recognition system adopted from [72].
  • 2.11 Input image or video for face location and detection
  • 2.12 The Artificial Neural Network ( ANN ) in face detection classification algorithms [88]
  • 2.13 The series of Boosting stages [102]
  • 2.14 Pose angle estimation [67].
  • 3.1 The interaction of cameras with the system
  • 3.2 The conceptual area-coverage view enclosed by three static cameras
    • by a system Administrator 3.3 Collection of data during registration of faces. Student faces are registered once
    • one another 3.4 The three components of the Smart Attendance Monitoring System connected to
  • 3.5 The use case diagram of the system
  • 3.6 Detention and recognition of faces captured from multiple camera
  • 3.7 The system user interface
  • 3.8 Form to register students information
  • 3.9 Email Window
  • 3.10 The flow diagram of the smart attendance monitoring system
  • 3.11 The internal Work flow of our smart attendance monitoring system
  • 3.12 The Relational Entity Diagram
  • 3.13 Background model behind attendance computation
  • 3.14 The UML class diagram for the smart attendance monitoring system
    • cropped 4.1 Rectangular red mark showing the detected faces. The faces are extracted and
      • pixels inside the rectangle D can be calculated as : 4 + 1 − (2 + 3) [50]. 4.2 (a) Haar-features are represented with a rectangle pattern. (b) The sum of the
  • 4.3 Face detection with Haar cascade without eye dection
  • 4.4 Validation of face detection with eye detection - equalizer, bilateral filter, and elliptical cropping [73] 4.5 Dataset without false detection images. The data is enhanced with histogram - environment portance of positioning multiple cameras in a classroom to create a multi-view
  • 4.7 Pre-processing stages
  • 4.8 The three phases of histogram equalizer adopted in this work
  • 4.9 Normal cropped image to elliptical cropped image.
  • 4.10 Summary of the PCA process
  • 4.11 The training images consisting of n of images represented in the form of a vector
  • 4.12 a) Normal images, and b) average mean images - the entire training data 4.13 P Selected eigenfaces such that P < M feature. The selected feature represents - and the mean face. 4.14 Each face in the training set can be represented by a weighted sum of k eigenfaces
  • 4.15 General computation of the LBP [5]
  • 4.16 LBP with different neighborhood radius [46]
  • 4.17 Face divided into regions with histogram for every region
  • 4.18 RBF function used to separate non-linear separable data mapped in to feature [92]
  • 4.19 Schematic of a three layered neural network [82]
  • 5.1 The sample of training images.
  • 5.2 Detection and recognition of students in a classroom.
  • 5.3 Students faces are recognized from a different position in a classroom
  • 5.4 Recognition results from different cameras
  • 5.5 Detection rate in the Multi-camera
  • 5.6 Classification of feature using ED
  • 5.7 The RBF kernel value
    • (SVM) 5.8 Classification of feature using Support Vector Machine Support Vector Machine
  • 5.9 Classification of feature using Naive Bayes (NB)

List of Tables

5.1 Face detection rate from differently positioned cameras at a fixed time...... 65 5.2 The trained results of the BPNN with different number of neurons in the middle layer........................................... 70 5.3 Learning rate against error rate of the BPNN.................... 71 5.4 Comparison of the performance of the proposed method to existing methods using similar feature extraction and classification algorithms............... 72 5.5 Example of register of students attendance for the whole lecture period...... 73

x

List of Acronyms

AMS Attendance Monitoring System

ANN Artificial Neural Network

CVS Computer Vision System

ED Euclidean Distance

ICA Independent Component Analysis

LDA Linear Discriminant Analysis

LBP Local Binary Patterns

NB Naive Bayes

PCA Principle Component Analysis

RFID Radio Frequency Identification

SVM Support Vector Machine

xii

1 | Introduction

1.1 Background

An Attendance Monitoring System Attendance Monitoring System (AMS ) validates whether a person has attended a meeting/lecture or not. Attendance monitoring system can be used to confirm that the right people are in the right place at the right time [14].

Recent studies have shown that there is a correlation between student’s academic performance and punctuality to classes [41, 27]. Therefore, academic institutions need to be equipped with a proper way of managing attendance in classrooms and examination venues.

Attendance management can be carried out in many ways. This includes lecturers invigilating students, circulation of attendance register for students to indicate their presence by appending their signature, or automated attendance management systems. However, many attendance monitoring systems are prone to problems such as, false results, time wasting, cheat, and use of expensive materials [87]. As a result computer vision is being explored to build a better attendance management systems.

Humans are visual creatures [102]. Almost every human depends on sight to interpret the world. Most information and discoveries are products of the visual faculty. The interpretation of visuals makes the world to be informative and advances intelligence. Although sight is not the only chan- nel to acquire information, it is regarded as the greatest source for collecting information and grow

Introduction 3

can enable the processing of huge amount of data faster, can generate safe storage, and can be made more appropriate to real-time [102].

1.2 Overview of Computer Vision Systems and Applications

The major building blocks of computer vision applications are image acquisition, image processing and image analysis. Most computer vision systems are built from this protocol. Figure 1. illustrate the Computer Vision System (CVS) where the training and recognition process are shown.

Figure 1.2: Generic architecture of computer vision system using face recognition

1.2.1 Image Acquisition

Image acquisition is the process of locating and capturing the desired image. In the case of class attendance monitoring this process will further to search faces in a given frame. This process is mainly focused on locating the object of interest. In this project images will be captured using cameras and converted into a grayscale image for further processing and analysis [100, 113, 31, 106].

Introduction 4

1.2.2 Image Processing

The second phase of computer vision is image enhancement. Most computer vision algorithms such as computational photography and object recognition require data to be pre-processed in order to be enhance the phenomenon targeted in the image [102]. Images acquired from the first stage can contain some defects. Hence, the imperfections in the raw image have to be reduced for better analysis of the image. Images can be affected by exposure, color balancing, image noise, unbalanced light, rotations, low sharpness, and blurriness [100]. Defect can be caused by the quality of the camera or some environmental effects such as a drastic change in light. The major challenge is that most images captured always have noise that cannot be analyzed with naked eyes. Therefore, it is important to always enhance an image before processing [100, 9, 102].

1.2.3 Images Analysis

Image analysis involves feature extraction and feature classification of a given data. In feature extraction, the best features representing an image are selected [9], while feature classification clusters homogeneous feature separately [102]. These features can be used to distinguish the images. Features can also be used for interpretation, classification, recognition and decision making between images. Object recognition performance heavily depends on feature extraction and classification algorithms used [100].

1.3 Motivation

Recent studies have shown that students attendance correlates with the academic improvements [53]. The moment students are in a class listening to a lecturer, writing notes, and participating on the lecturers lessons, leaves knowledge in their minds. Therefore, developing a reliable and accurate attendance monitoring system to record student’s presence through the entire lecture, could be of a great help to enhance the quality of academic deliveries.

The use of facial recognition has the potential to improve the automated attendance management systems. It is well documented that face recognition has improved significantly [85, 87, 68, 22, 52, 19]. One of the most important characteristics of facial recognition based attendance

Introduction 6

Existing automated modalities such as mobile application, RFID and Bluetooth based-systems are also prone to false results, intrinsic models, time wasting, and expensive instruments [21, 90]. Hence, the need to improve the attendance monitoring system is necessary. True authentication and identification are important features for attendance recording.

Although, facial recognition applications can be susceptible to false positives and false negatives, invariant lighting, facial occlusion, and drastic change in facial expression [87, 85, 68]. A well- modeled face recognition system, can improve the attendance management, due to its non-intrinsic nature [21]. This non-intrisic nature makes facial recognition biometric system to be essentially preferred when compared to other forms of biometrics.

1.5 Research Aim and Objectives

The main aim of this research is to design and implement an automated smart model that employs real-time face recognition to monitor student attendance without time wasting and physical interaction with the system. In order to achieve the main goal, the following specific objectives must be carried out:

  • Propose a conceptual model for a smart attendance monitoring system that uses face recognition to monitor student’s attendance during their lectures.
  • Design a multi-camera system architecture for effective face detection, with reduced effects of face occlusion.
  • Provide time integrated model that can update student’s attendance information using time intervals, to track the availability of students throughout the attendance period.
  • Demonstrate the suitability of the different feature extraction techniques investigated in this study.

1.6 Scope Of The Study And Limitations

This section elaborates the limitations of the investigations performed in this research.

Introduction 7

The video and images dataset of students in a classroom is very rare online. The proposed model was tested with a private database of students in a classroom.

1.7 Contributions

The main contributions of this research are:

  • Survey on techniques and existing systems for automatic attendance monitoring system.
  • Proposition of a real-time smart attendance monitoring model that is able to monitor students attendance throughout the entire lecture.
  • The design of the multi-camera architecture for efficient detection of students in a classroom and reduction of facial occlusion.
  • Experimentation of the real-time attendance monitoring system.

1.8 Overview

Chapter 2 reviews the state-of-art of the facial recognition process. It elaborates on the contextu- alization of existing attendance management systems. Chapter 3 presents the system model and the Graphic User Interface (GUI) of the proposed model. In chapter 4, materials, algorithms, and methods such as face detection, image pre-processing, and feature extraction are presented. A full discussion on the experimental conditions, the results of the experiments from different classification algorithms, is presented in chapter 5. Chapter 6 draws the conclusion and presents recommendations for future work. Consent for the use and publication of images captured in the classroom is presented as appendix at the end of the dissertation.