You are on page 1of 12

THDC Institute of Hydropower Engineering and

Technology
Tehri Gharwal, Uttarakhand
India

Project Report on

Face Recognition System
Using Image Processing in
Matlab



by

Kamlesh Singh
Piyush Rawat
Anish
Kaushik Kumar
(Electronics and Communication Engineering 3
rd
Year)


Under Guidance of
Mr. Ashish Joshi
Assistant Professor
Department Of Computer Science
THDC Institute of Hydropower Engineering and Technology
Tehri Gharwal, Uttarakhand
India.

Table of Content



1. LIST OF FIGURE i


2. ACKNOWLEDGEMENT 1


3. SOFTWARE REQUIREMENT 2


4. PROJECT SPECIFICATION 3

4.1. Objective
4.2. Project overview


5. CODE STRUCTURE 5


6. RESULT 7


7. REFERENCE & BIBLIOGRAPHY 8




















LIST OF FIGURE



Figure 2.1 Matlab R2012b GUI.

Figure 4.1 Code written in command window of Matlab

Figure 6.1 Face detected as a result








































ACKNOWLEDGEMENT


We would like to express our special thanks of gratitude to our
teacher Mr. Ashish J oshi, Assistant Professor, THDC I HET who
gave us the golden opportunity to do this wonderful project on the
topic Face Recognition System Using I mage Processing in Matlab,
which also helped us in doing a lot of Research and we came to know
about so many new things we are really thankful to him.













Kamlesh Singh
Piyush Rawat
Anish
Kaushik Kumar



















SOFTWARE REQUIREMENT :MATLAB



MATLAB is a high-level language and interactive environment for numerical
computation, visualization, and programming. Using MATLAB, you can analyze data,
develop algorithms, and create models and applications. The language, tools, and
built-in math functions enable you to explore multiple approaches and reach a solution
faster than with spreadsheets or traditional programming languages, such as C/C++ or
Java.

You can use MATLAB for a range of applications, including signal processing and
communications, image and video processing, control systems, test and measurement,
computational finance, and computational biology. More than a million engineers and
scientists in industry and academia use MATLAB, the language of technical
computing.

Fig. 3.1 Matlab R2012b GUI.



PROJECT SPECIFICATION

OBJECTIVE

Face recognition is the process of identifying one or more people in images or
videos. Algorithms for face recognition typically extract facial features and compare
them to a database to find the best match. The objective of Face recognition is
important part of many biometric, security, and surveillance systems, as well as image
and video indexing systems.

.
PROJECT OVERVIEW

In our project we studied the basics of Matlab and the image processing
toolbox that took almost 20 days.

To find out information about my topic, we first started with the matlab basics
and then the image processing toolbox in it. After that we focused our main project i.e.
how it works, did a lot of research on it from the previously did project o it and
Mathworks, a privately held, multi-national corporation that specializes in
mathematical computing software including MATLAB and Simulink.

The following topics we came to know-



Image Processing
Image processing is any form of signal processing for which the input is an
image, such as a photograph or video frame; the output of image processing may be
either an image or a set of characteristics or parameters related to the image. Most
image-processing techniques involve treating the image as a two-dimensional signal and
applying standard signal-processing techniques to it.
An image defined in the real world is considered to be a function of two real
variables, for example, a(x,y) with a as the amplitude (e.g. brightness) of the image at
the real coordinate position (x,y).



Image Processing Toolbox:

Image Processing Toolbox provides a comprehensive set of reference-standard
algorithms, functions, and apps for image processing, analysis, visualization, and
algorithm development. You can perform image enhancement, image deblurring,
feature detection, noise reduction,image segmentation, geometric transformations, and
image registration. Many toolbox functions are multithreaded to take advantage of
multicore and multiprocessor computers.
Image Processing Toolbox supports a diverse set of image types, including high
dynamic range, gigapixel resolution, embedded ICC profile, and
tomographic. Visualization functions let you explore an image, examine a region of
pixels, adjust the contrast, create contours or histograms, and manipulate regions of
interest (ROIs). With toolbox algorithms you can restore degraded images, detect and
measure features, analyze shapes and textures, and adjust color balance.






































CODE STRUCTURE

faceDetector = vision.CascadeObjectDetector();
videoFileReader = vision.VideoFileReader('visionface.avi');
videoFrame = step(videoFileReader);
bbox = step(faceDetector, videoFrame);
videoOut = insertObjectAnnotation(videoFrame,'rectangle',bbox,'Face');
figure, imshow(videoOut), title('Detected face');
[hueChannel,~,~] = rgb2hsv(videoFrame);
figure, imshow(hueChannel), title('Hue channel data');
rectangle('Position',bbox(1,:),'LineWidth',2,'EdgeColor',[1 1 0])
noseDetector = vision.CascadeObjectDetector('Nose');
faceImage = imcrop(videoFrame,bbox(1,:));
noseBBox = step(noseDetector,faceImage);
noseBBox(1,1:2) = noseBBox(1,1:2) + bbox(1,1:2);
tracker = vision.HistogramBasedTracker;
initializeObject(tracker, hueChannel, noseBBox(1,:));
videoInfo = info(videoFileReader);
videoPlayer = vision.VideoPlayer('Position',[300 300 videoInfo.VideoSize+30]);
while ~isDone(videoFileReader)
videoFrame = step(videoFileReader);
[hueChannel,~,~] = rgb2hsv(videoFrame);
bbox = step(tracker, hueChannel);
videoOut = insertObjectAnnotation(videoFrame,'rectangle',bbox,'Face');
step(videoPlayer, videoOut);
end
release(videoFileReader);
release(videoPlayer);



(THIS CODE IS SHOWN IN FIG.4.1)



















Fig.5.1 code written in command window of matlab























RESULT


This is quite evident from the figure.6.1 that image processing using MATLAB has
been done successfully.





Fig.6.1 Face detected as a result.


















REFERENCE & BIBLIOGRAPHY


1. MATLAB Image Processing By Bruce Tannenbaum IEEE Boston
Meeting, Dec 3, 2012
2. A MATLAB based Face Recognition System using Image Processing and
Neural Networks by Jawad Nagi, Syed Khaleel Ahmed, Farrukh Nagi,
Universiti Tenaga Nasional, Malaysia.
3. Mathwork : www.mathwork.com
4. Wikipedia : en.wikipedia.org





































CERTIFICATE




TO WHOMEVER IT MAY CONCERN

This is to certify that following students of THDC-IHET, Tehri have successfully
completed and submitted their project in FACE RECOGNITION SYSTEM USING IMAGE
PROCESSING IN MATLAB.




PIYUSH RAWAT (ECE 3
rd
year)

KAMLESH SINGH (ECE 3
rd
year)

ANISH (ECE 3
rd
year)

KAUSHIK KUMAR (ECE 3
rd
year)








Mr. ASHISH JOSHI
Assistant Professor
Department Of Computer science
THDC-IHET,Tehri.

You might also like