Automatic Attendance System by Visual Programming Language Labview
Automatic Attendance System by Visual Programming Language Labview
net/publication/303933405
CITATIONS READS
3 2,359
4 authors, including:
P. K. Verma
Rajkiya Engineering College Sonbhadra Uttar Pradesh
25 PUBLICATIONS 51 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by P. K. Verma on 05 February 2019.
Abstract—This paper presents an application of In recent years, face recognition becomes very
LabVIEW and camera interface which is used for taking popular [3] and the research on it has rapidly increased by
attendance in classroom. The system use a camera which is engineers. It has large applications in neuroscience. It has
connected to PC on USB interface and attached to each and many features in computer vision, machine vision,
every classroom for taking snap of students presented.
communication, bio medical and automatic product
LabVIEW graphical programming environment is a tool for
realizing the image acquisition and processing. This software inspection. Face detection plays critical role in face
has several advantages: simple implementation, modularity, recognition [4-6]. It is first step for automatic face
flexibility, attractive user interface and possibility to develop recognition. But, in case of face detection there are several
very easy new features. Face recognition and machine vision variations like occlusion, orientation of image, variations
applications in automatic inspection of various electronic of pose, facial expression, and orientation of image.
modules can also be implemented using given algorithm. The organization of the rest of the paper is as follows.
Keywords: Pattern Recognition, Image Processing, Image In section II, describes the image acquisition.
Acquisition, Virtual Instuments(vi), LabVIEW, Digital Image Mathematical representation of digital image is explained
I. INTRODUCTION in section III. Section IV shows the pattern matching using
LabVIEW. Section V, gives the conclusion of proposed
The Prevailing attendance system in the University system.
works manually and is taken by the faculty or the course
instructor by the Roll/Registration id call and the II. IMAGE ACQUISITION
attendance is marked for every hour for the students and Image is generally associated with light incident and
the responses are saved in an online interface being used reflected from scene. Hence, light distribution in the scene
for all the University purposes called the UMS or is one of variables information of images. Since the
University Management System. This process is taking formation of image of any object depends of the
more time for attendance. interaction of the light with object in any scene and the
So for reduce this wastage of time this system of energy emitted from one or different sources light changes
taking attendance can be used. Usually 3-5 minutes are in its trip.
wasted in conventional attendance system. But in this new In Fig. 1 it is shown that how to acquire video from a
system it is just taking 1-2 seconds in whole process of webcam by using LabVIEW and NIVision Acquisition
attendance. So it will to save the time. Express located in Vision/Vision Express toolbox. This
In this process a camera is used in every classroom method is the simplest way to acquire the image or video
which is connected to PC on USB port. When faculty from camera and also to configure the camera. In NI
wants to take attendance he just has to switch on the Vision Acquisition configuration block four sections are
process [1]. The attached camera will take a snap of whole there: the first section is the option of “select acquisition
source” [1]. Inside this option it shows all the cameras
class. It sends this image to PC and then it is decided that
connected with the computer which is used. We can select
which student is present and who is not. PC operates an
the required camera used. The second section is “select
algorithm of image processing for taking decision for acquisition type” which determines that what should be
present and absent students. Using this approach it is the mode of display the image. It has four modes: single
allowed to store the captured image for later processing. acquisition with processing, continuous acquisition with
After taking decision it created a excel sheet of present inline processing, finite acquisition with inline processing,
and absent students or it can also modify exist excel sheet and finite acquisition with post processing we can choose
or data. any one of these option according to our requirement. The
The applications presented in paper consist in an next option corresponds to the “configure acquisition
attendance system which is capable to recognize face and settings” it shows the constraints of camera like size,
monitor the present and absent students. By the use of brightness, contrast, gamma, saturation, etc. of the image
modular realization of both software and hardware parts taken by camera. The fourth and last section is to select
[2], the system can be easily operated with multiple controls and indicators. In Fig. 1 continuous acquisition
cameras. with inline processing is selected. It will acquire the image
and display in continuous mode or video mode. It will In Fig. 2 shows the block diagram of acquiring the
keep displaying the real time acquired image until the user video and the pattern recognition system. Here for
presses the stop button. continuous acquisition from the camera with acquisition
option of inline processing was used; hencea while loop is
present inside the blocks of video acquisition. First of all
the important thing is to transform the acquired video into
intensity values or gray scale image. One option is to
change RGB values to intensity values is by using IMAQ
extract single color plane available in vision utilities/color
utilities. The input for pattern recognition function will be
always gray scale image.
Fig. 1: Video Acquisition using IMAQ Vision Acquisition Express
Start
Get output in 0 or 1 Fig. 9: Block Diagram to Extract Information of Student from Database
E. Procedure Involved
1. Choose the image of class from a particular location.
2. Use a template which occupies the face of each
student.
3. Give the Excel sheet path in which the student
information will store.
4. The acquired image is in RGB format so convert the
image to gray scale format.
5. Take the gray scale image and match it with
template.
6. Use the function “no. of matches” which gives the
output 1 if pattern match otherwise 0. Fig. 11: Block Diagram to Append the Result
7. If output is 1 the student is present otherwise absent.
8. By using this information generate the Excel sheet. I. Append and Final Result
Finally append the status of each student and save it
F. Design Flow Diagram
into excel sheet. For this we use write to spreadsheet
This design flow diagram shown in the Fig. 8 function and block diagram in shown in Fig. 11.
represents the whole process from top to bottom.
J. Front Panel
G. To Extract Data of Student from Excel Sheet
Front panel is user interface of LabVIEW[10]. All
For extracting details like roll no, name a function is controls and indicators are present in front panel. In this
used called read from spreadsheet. This function extract program front panel consist of Image out, 2-D array,
the excel sheet in rows and column. After extracting image file input, excels file input and outputs are present
software will decide who is present and who is not. Block as shown in Fig. 12.
diagram for the same is shown in Fig. 9.
REFERENCES
[1] I. Lita, D. A. Visan, I. B. Cioc, "LabVIEW application for
movement detection using image acquisition and processing", IEEE
16th International Symposium onDesign and Technology in
Electronic Packaging (SIITME), pp. 225-228. 2010.
[2] Johnson, Gary, “ LabVIEW graphical programming”, 2nd Edition,
TMH, 1997.
[3] Caixia Liu, “The Development Trend of Evaluating Face-
Recognition Technology” , IEEE International Conference on
Mechatronics and Control (ICMC), pp. 1540-1544, 2014.
[4] G. Prabhu Teja, S. Ravi, “ Face Recognition using Subspaces
Techniques” , IEEE International Conference onRecent Trends In
Information Technology (ICRTIT), pp. 103-107, 2012.
[5] Taketo Horiuchi, Takuro Hada, “ A Complementary Study for the
Fig. 12: Front Panel of Final Result Evaluation ofFace Recognition Technology”, IEEE 47th
International Carnahan Conference on Security Technology
V. CONCLUSION (ICCST), pp. 1-5, 2013.
[6] Wuni xu, Lanxiang Zhong, Dingyuan Wang, “Image Processing
Number of modules has been designed and Based on Seamless Integration Technology Between Lab
implemented on LabVIEW platform and Image Vision VIEWandMATLAB”, IEEE International Conference on
analysis tools in LabVIEW. The objective of automatic Information, Networking and Automation (ICINA), pp. 219-223,
attendance system project is to take the students 2010.
[7] Jerome, Jovitha, “ Virtual Instrumentation using LabVIEW” 1st
attendance automatically based on face recognition Edition, PHI, 2010.
method using NI LabVIEW with Vision toolkit. It would [8] Wang Lei, Shen yuming, “ Design of Machine vision applications in
be helpful to reduce the time for taking the attendance and Detection ofdefects in high-speed bar copper”, IEEE International
also reduces the manual errors. Conference on E-Product E-Service and E-Entertainment (ICEEE),
pp. 1-4, 2010.
[9] I. Laptev, J. Wills, P. Perez, S. J. Belongie, “ Periodic Motion
ACKNOWLEDGMENT
Detection and Segmentation via Approximate Sequence
This work was supported by Delhi Technological Alignment“, IEEE International Conference on Computer Vision,
vol. 1, pp. 816 – 823, 2005.
University, New Delhi. I would like to thanks Mr. [10] P. Surekha, and S. Sumathi, “ LabVIEW based Advance
SrinivasPerala for their great support. Instrumentation” 1st Edition, Springer, 2007.