Attendance Marking System Based On Facial Recognization Using Rasperry Pi With MATLAB Programming
Attendance Marking System Based On Facial Recognization Using Rasperry Pi With MATLAB Programming
schools, institutes and universities are taken by professors and records are
messaging services.
CHAPTER 1
INTRODUCTION
1.1 OVERVIEW
Frame
conversion Feature extraction
Image
acquisition PCA & LDA
Pre processing
RASPBERRY
PI
UART
GSM
SD
CARD HDMI
TO
VGA
1.3.1 RASPBERRY PI
The Raspberry Pi 2 delivers 6 times the processing capacity of
previous models. This second generation Raspberry Pi has an upgraded
Broadcom BCM2836 processor, which is a powerful ARM Cortex-A7
based quad-core processor that runs at 900MHz. The board also features
an increase in memory capacity to 1Gbyte. It supports both Ubuntu and
Windows 10 by installing the respective system image of core files.
1.3.4 PREPROCESSING
It involves the process of storing the details of the students based
on the samples taken in initial stage such as facial expressions,
eyebrows, etc., for computing certain algorithm to recognize the face of
the students.
1.3.5 FEATURE EXTRACTION
This stage involves in appearance based approach to human face
representation and recognition. Some of the techniques involved in
appearance based approach are PCA (Principle component analysis) and
LDA (linear discriminant analysis). PCA preserves global structure of
image space and LDA preserves discriminating information.
1.3.6 UART
Using a suitable cable, such as the TTL-232R-3V3-WE, we can
connect it to your PC and using some simple terminal software set to
115200-8-N-1 use the command line interface to the Raspberry Pi in the
same way as if we're using a keyboard and screen connected to it.
1.3.7 ARDUINO
Arduino board designs use a variety of microprocessors and
controllers. The boards are equipped with sets of digital and
analog input/output (I/O) pins that may be interfaced to various
expansion boards (shields) and other circuits. The boards feature serial
communications interfaces, including Universal Serial Bus (USB) on
some models, which are also used for loading programs from personal
computers. The microcontrollers are typically programmed using a
dialect of features from the programming languages C and C++. In
addition to using traditional compiler tool chains, the Arduino project
provides an integrated development environment (IDE) based on
the Processing language project.
1.3.8 GSM MODULE
Raspberry Pi is a high end embedded device, so an interface with
a GSM module will results in the invention of an intelligent system
which supports Short Messaging Support (SMS). The GSM module
consists of a sim card slot with antenna in order to send and receive the
messages.
1.3.9 SD CARD
Raspberry pi supports SD card of size 8GB for supporting Noobs
interface. For image installations it’s recommended to use of minimum
size 4GB.
LITERATURE SURVEY
SYSTEM ANALYSIS
• Adriuno Uno r3
• Uart
• Gsm module
• matlab r2014a
• windows 7 os
• raspbian package
4. Solder less breadboard for external circuits, and 22 g solid wire for
connections.
3.5.3Digital I/O
Blink: turn an LED on and off. Blink without Delay: blinking an LED
without using the delay () function.
3.5.4Analog I/O
3.5.5Communication
3.5.6EEPROM Library
Other Examples
Stopwatch
3.5.8Complex Sensors
3.5.9Sound
3.5.10Interfacing w/ Hardware
3.5.11Connecting a Battery
Warning: Watch the polarity as you connect your battery to the snap as
reverse orientation could blow out your board.
3.5.12Moving on
3.5.15Flashing an LED
using 22 g solid wire, connect the 5V power pin on the Arduino to the
bottom red power bus on the breadboard and the Gnd pin on the
Arduino to the bottom blue power buss on the breadboard. Connect the
notched or flat side of the LED (the notch or flat is on the rim that
surrounds the LED base; look carefully because it can be hard to find)
to the Gnd bus and the other side to a free hole in main area of the
breadboard Place the resistor so that one end is in the same column as
the LED and the other end is in a free column. From that column,
connect a wire to digital pin 2 on the Arduino board. Your setup will
look something like this
3.5.16Reading a switch
3.5.18Arduino Hardware
To determine the state of switches and other sensors, the Arduino is able
to read the voltage value applied to its pins as a binary number. The
interface circuitry translates the sensor signal into a 0 or +5 V signal
applied to the digital I/O pin. Through a program command, the Radium
interrogates the state of the pin. If the pin is at 0 V, the program will
read it as a 0 or LOW. If it is at +5 V, the program will read it as a 1 or
HIGH. If more than +5 V is applied, you may blow out your board, so
be careful.
3.6GSM Modem
In the Ground Section, the UART0 of the microcontroller is
connected to the GSM Modem. The Block Schematic of the GSM
Modem is shown in Fig below. A GSM modem is a specialized type of
modem which accepts a SIM card, and operates over a subscription to a
mobile operator, just like a mobile phone. From the mobile operator
perspective, a GSM modem looks just like a mobile phone. When a
GSM modem is connected to a computer, this allows the computer to
use the GSM modem to communicate over the mobile network. While
these GSM modems are most frequently used to provide mobile internet
connectivity, many of them can also be used for sending and receiving
SMS and MMS messages. A GSM modem can be a dedicated modem
device with a serial, USB or Bluetooth connection, or it can be a mobile
phone that provides GSM modem capabilities. GSM modems can be a
quick and efficient way to get started with SMS, because a special
subscription to an SMS service provider is not required. In most parts of
the world, GSM modems are a cost effective solution for receiving SMS
messages, because the sender is paying for the message delivery.
GSM Modem
3.7Raspberry
3.7.1Overview
3.7.2Hardware
This block diagram depicts Models A, B, A+, and B+. Model A, A+,
and the Pi Zero lack the Ethernet and USB hub components. The
Ethernet adapter is internally connected to an additional USB port. In
Model A, A+, and the PI Zero, the USB port is connected directly to
the system on a chip (SoC). On the Pi 1 Model B+ and later models the
USB/Ethernet chip contains a five-point USB hub, of which four ports
are available, while the Pi 1 Model B only provides two. On the Pi Zero,
the USB port is also connected directly to the SoC, but it uses a micro
USB (OTG) port.
3.7.3Processor
3.7.4Performance
3.7.5Overclocking
3.7.6.RAM
The Raspberry Pi 2 and the Raspberry Pi 3 have 1 GB of RAM.
The Raspberry Pi Zero and Zero W have 512 MB of RAM.
3.7.7Networking
3.7.10Real-time clock
4. POWER SUPPLY:
4.2 RECTIFIER
4.3.1Features:
• Output Current up to 1A
• Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V
4.3.4 DESCRIPTION:
MATLAB
MATLAB (matrix laboratory) is a multi-paradigm numerical
computing environment and fourth-generation programming language.
A proprietary programming language developed by Math Works,
MATLAB allows matrix manipulations, plotting of functions and data,
implementation of algorithms, creation of user interfaces, and
interfacing with programs written in other languages, including C, C+
+, C#, Java, Fortran and Python.
5.1History
5.2syntax
5.3Variables
>> x = 'hat'
x=
hat
>> y = x + 0
y=
104 97 116
>> y = 3*sin(x)
y=
-1.6097 3.0000
variable with the name array ) which is an array consisting of the values
1, 3, 5, 7, and 9. That is, the array starts at 1 (the init value), increments
with each step from the previous value by 2 (the increment value), and
stops once it reaches (or to avoid exceeding) 9 (the terminatorvalue).
5.5Structures
5.6Functions
5.7Function handles
object.method();
5.10License
5.11Alternative
The basis vector are computed from the set of training images I. The
average image in I is
computed and subtracted from the training images, creating set of data
samples
i1,i2,……. in ϵ I -Ỉ
XXT_ is then the sample covariance matrix for the training images and
the principal components of the covariance matrix are computed by
solving RT(XXT)R = ˄ where the diagonal matrix of eigenvalues is and
R is the matrix of orthonormal eigenvectors. Geometrically, R is a
rotation matrix that rotates the original coordinate system onto the eigen
vectors, where the eigenvector associated with the largest eigenvalue is
the axis of maximum variance, the eigenvector associated with the
second largest eigenvalue is the orthogonal axis with the second largest
variance, etc. Typically, only the N eigenvectors associated with the
largest eigenvalues are used to define the subspace, where N is the
desired subspace dimensionality.
FUTURE SCOPE