SlideShare a Scribd company logo
IOSR Journal of Computer Engineering (IOSR-JCE)
e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 19, Issue 1, Ver. III (Jan.-Feb. 2017), PP 61-66
www.iosrjournals.org
DOI: 10.9790/0661-1901036166 www.iosrjournals.org 61 | Page
Human Face Detection Systemin ANew Algorithm
HewaMajeedZangana
Department of Computer Science / College of Computer Science and IT / Nawroz University / Kurdistan Region
of Iraq
Abstract:Trying to detecting a face from any photo is big problem and got these days a focusing because of it
importance, in face recognition system,face detection in one of the basic components. A lot of troubles are there
to be solved in order to create a successful face detection algorithm. The skin of face has its properties in color
domain and also a texture which may help in the algorithm for detecting faces because of its ability to find skins
from photo. Here we are going to create a new algorithm for human face detection depending on skin color tone
specially YCbCr color tone as an approach to slice the photo into parts. In addition, Gray level has been used to
detect the area which contains a skin, after that anotherlevel used to erase the area that does not contain skin.
The system which proposed applied on many photos and passed with great accuracy of detecting faces and it
has a good efficient especially to separate the area that does not contain skin or face from the area which
contain face and skin. It has been agreed and approved that the accuracy of the proposed system is 98% in
human face detection.
Keywords: face detection, skin color, YCbCr.
I. Introduction
The Face of ahuman is carrying a lot of information like emotional and recognizing persons depending
on his face. Face revealed in a complex scene and the fragmentation of its background is a precondition for any
process verification using faces. Therefore,Powerful detection and diversify sectors is the first step in Build a
fool-proof system. In near past face recognition and detection became a point of researchers where many
applications and systems has been made depending on this idea of detection like control system to detect
suspicious people and video surveillance and tracking faces and so on.The procedures and steps to get these
systems of face detection and dividing photo are many and there will be many Barriers like the expression of
face and the color of skin and maybe some other objects will be appeared or not related to illumination or may
be even the direction of face or the background of the image or the space between object and the camera. The
way to find faces from images and localization is called face detection. And it is the important move in face
recognition system. Segmenting image is the biggest trouble in image processing. Segmenting face is a
substantialmove in the system of recognizing faces, where many techniques areresorting to deal with faces in
photos. Thus, segmenting and detecting faces must work successfully in finding the part which contains the face
in the image given.
The most point in recognizing face in human is the color of skin and it can be used to detecting faces
from images. Even the color of skin is different between faces and many researchers proofed that the difference
came from intensity more that chrominance. Various color spaces have been used to extract skin color like
RGB, HSV, YCbCr.Methods of face detection can be divided into many features depending on the method itself
and the image based method. Many people worked in this field of research like S. PatilKulakarniandH. C. Vijay
Lakshmi and they worked on algorithm depending on color space, where they calculate the YCbCr and HSI
together with Prewitt and canny edge detection approaches. This approach or technique has been used even by
other people in the field of research. An algorithm proposed by I. Laurence Aroquiaraj and K. Satheeshwhich
named Hit and missed transformed (HMT) depending on Mathematical Morphological operator for face
segmentation, this algorithm specified the texture for gram photo to be use as a rule of segmenting face. A.H.
Miry and El Abbadi, N.K.,proposed new approach to divide the skin area depending on histogram thresholding.
The image which has been input to system filtered to erase many troubles of segmentation like variety in size,
color and shapes. In order to enhance the photo a mathematical morphology has been used.
II. ApproachAnd Proposed System
In the current paper, we proposed a color image to be input and then to be transform into YCbCr mode of color
space up to the following:
Human Face Detection System in a New Algorithm HewaMajeedZangana
DOI: 10.9790/0661-1901036166 www.iosrjournals.org 62 | Page
Actually here the important component is the Cr, where the process of segmenting face from image
will depend on the Cr. Figure 1 represent the process of transformed of image
C B A
Fig. 1:Image in three cases: A. Colored. B. The color space YCbCr. C. Cr Component.
In addition, from the Cr component a binary image has been generated and this operation complete by
taking every value of pixel of image and compare it with the threshold of Cr. Here it can be called detecting skin
color tone because of depending on Cr component, where any value of pixel bigger than the mean of threshold
will be skin and it will be colored by white color, where the white color value in image processing is equal to
one in value. In the other hand, the pixel that represents the background of the image will be in black color
especially where the black color in image processing represented by the value zero. The following is the
equation of thresholding:
Where h and w representing the height and width of input image, j and i indicate the coordinate of the
pixel.The following Figure 2 represents the thresholding step
A B
Fig. 2: The step of implementing Binary Image: A. Input color image. B. The image in binary case.
After that we will separate the pixels in colored image which had been input into separated area and
even edge detection will be applied in order to locate the edges of the input image in order to separate the image
into different regions and this will be done by doing the filter of mask as represented in Figure 3 of the input
image, wherewe took the image and aplly scanning on it from up to bottom and left to right, after that we will
Human Face Detection System in a New Algorithm HewaMajeedZangana
DOI: 10.9790/0661-1901036166 www.iosrjournals.org 63 | Page
apply edge detection by giving one value to the pixel which is matching the mask’s center and the other mask’s
value will be either one or two or three, where the other area of pixels will be represented by zero value.
All areas which had been separated and segmented will be numbered from the first area until the last
area in the input image. In that matrix a gray level had been used in order to erase the areas which do not contain
any face’s part. It had been done by the following procedures:
1. The input colored image converted to grayscale.
2. All areas will be divided by giving the all other areas black color and the area which we wanted to divide by
giving it the white color. Here if we used more than one image it means we will have more than one white
area, it depends on the number of images.
3. Drawing the white area of every single image which come from the second step with gray scale image
which had been extracted from input image. Here we got gray color image for the area we assigned and a
background of black color.
4. Doing the gray level Co- occurrence of matrix for every area in order to identify the areas which do not
contain any part of face and erase it, and this will be done by giving a black color to it.
The proposed equations of this paper as follows:
The operation did not erase the whole non skin area from the photo even it left some areas in the same
photo which could be pieces of face area. In order to make the effect of segmentation in the proposed algorithm
be increased. Then we are going to concatenate the current photo with the colored original image in order to get
the colored area. After that we are going to divide the photo to frames and those frames could be in different
sizes and there will be an operation applied in it as follows:
Human Face Detection System in a New Algorithm HewaMajeedZangana
DOI: 10.9790/0661-1901036166 www.iosrjournals.org 64 | Page
After that it is going to take every value of k and calculate the average of the gray level which is
represent different results from every single pixel to another and the following steps will show the operation as
follows:
III. Results
We have made a large database with many photos in order to test the proposed algorithm on them and
they have been shown in fig. 5, fig. 6, fig. 7, fig. 8, fig. 9, and fig. 10. The all results come with faces and black
backgrounds if the input photo contain face or if there is no face in the input photo the result will be just a black
photo. In addition, we have represent some stages of the photo in the operation of applying the proposed
algorithm on it starting from the colored photo which has been input until the result photo, like the YCbCr and
the Cr component and the binary photo and finally the result photo which contain the face.
Human Face Detection System in a New Algorithm HewaMajeedZangana
DOI: 10.9790/0661-1901036166 www.iosrjournals.org 65 | Page
In addition, we tested our proposed algorithm on some other photos which contain many faces in order
to check the ability of it and how the results will be, the proposed algorithm shows the same results and worked
very well and Fig. (11) represents a test of it.
Fig. (11) Test (7) for Proposed Algorithm with a Photo Contains Many Faces
In order to check the accuracy and the performance of proposed system we used criterias called recall and
precision like following:
Human Face Detection System in a New Algorithm HewaMajeedZangana
DOI: 10.9790/0661-1901036166 www.iosrjournals.org 66 | Page
We noticed that the time required to detect a face from any photo up to our proposed system took about only
two seconds.
IV. Conclusions
In the current paper we proposed a new algorithm to detect a face from any photo and we depended on
the skin color in order to make it be successful algorithm with a high accuracy.
In addition, we divided the photo to some parts, some do not contain skin area and the other containing the skin
area of face.The proposed algorithm has been applied on many photos in order to be sure about the accuracy and
it is giving the same results with all photos.For future work we recommend to expand the current system to
segment and detect the all skin of human body.We compared our proposed algorithm with other exist algorithms
and the proposed algorithm gives good results as shown below:
Criterion HSI Color Space [9] YcbcrColor Space [9]
RGB Color Space
[9]
Proposed
Algorithm
Accuracy 73.8 ﹪ 84.61 ﹪ 21.64 ﹪ 98
References
[1]. Hong, S. and al, e, "Facial feature detection using Geometrical face model: An efficient approach," journal of pattern recognition,
Vols. 31, No. 3, pp. 273-282, 1998.
[2]. Leung, C, "Real Time Face Recognition," B. Sc. Project, School of Information Technology and Electrical Engineering. University
of Queesland, 2001.
[3]. Sanjay Kr, Singh, D. S. Chauhan, MayankVatsa and Richa Singh, "A Robust Skin Color Based Face Detection Algorithm,"
Tamkang Journal of Science and Engineering, vol. 6 (4), pp. 227-234, 2003.
[4]. Muhammad Tariq Mahmood, "Face Detection by Image Discriminating," 2006. [Online]. Available:
http://www.bth.se/fou/cuppsats.nsf/all/6c509ae86a297ca4c12571d300512cac/$file/DVD009-MasterThesisReport.pdf.
[5]. Michael Padilla and Zihong Fan, "Automatic Face Detection Using Color Based Segmentation and Template / Energy
Thresholding," 2003. [Online]. Available: http://www.stanford.edu/class/ee368/Project_03/Project/reports/ee368group16.pdf.
[6]. Rafael C. Gonzalez and Richard E. Woods, Digital Image Processing. 2nded, New Jersey: Prentice-Hall, 2001, pp. 75-103.
[7]. C. A. Brewer, Color Use Guidelines for Data Representation, Alexandria: American Statistical Association, 1999, pp. P55-56.
[8]. Sangwine, S. J. and Horne, R. E. N, The Color Image Processing Handbook, Chapman & Hall, 1st Edition, 1998.
[9]. Raghuvanshi, D. S. and Agrawal, D., "Human Face Detection by using Skin Color Segmentation, Face Features and Regions
Properties," International Journal of Computer Applications, vol. 38– No.9, 2012.
[10]. HewaMajeedZangana, ImadFakhri Al-Shaikhli, A New Algorithm for Human Face Detection Using Skin Color Tone, IOSR
Journal of Computer Engineering, Volume 11, Issue 6, pp 31-38, 2013

More Related Content

PDF
Region based elimination of noise pixels towards optimized classifier models ...
PDF
Skin Detection Based on Color Model and Low Level Features Combined with Expl...
PDF
A New Skin Color Based Face Detection Algorithm by Combining Three Color Mode...
PDF
FACE SKETCH GENERATION USING EVOLUTIONARY COMPUTING
PDF
Enhancing Security and Privacy Issue in Airport by Biometric based Iris Recog...
PDF
Face Detection for identification of people in Images of Internet
PDF
A FACE RECOGNITION USING LINEAR-DIAGONAL BINARY GRAPH PATTERN FEATURE EXTRACT...
PDF
Region based elimination of noise pixels towards optimized classifier models ...
Skin Detection Based on Color Model and Low Level Features Combined with Expl...
A New Skin Color Based Face Detection Algorithm by Combining Three Color Mode...
FACE SKETCH GENERATION USING EVOLUTIONARY COMPUTING
Enhancing Security and Privacy Issue in Airport by Biometric based Iris Recog...
Face Detection for identification of people in Images of Internet
A FACE RECOGNITION USING LINEAR-DIAGONAL BINARY GRAPH PATTERN FEATURE EXTRACT...

What's hot (17)

PDF
A New Algorithm for Human Face Detection Using Skin Color Tone
PDF
Automatic rectification of perspective distortion from a single image using p...
PDF
Yawning analysis for driver drowsiness detection
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
HSV Brightness Factor Matching for Gesture Recognition System
PDF
FOOT ANTHROPOMETRY DEVICE AND SINGLE OBJECT IMAGE THRESHOLDING
PDF
Gesture Recognition Review: A Survey of Various Gesture Recognition Algorithms
PDF
Improvement and Enhancement Point Search Algorithm
PDF
Face detection using the 3 x3 block rank patterns of gradient magnitude images
PDF
Color Constancy For Improving Skin Detection
PDF
Finger Print Image Compression for Extracting Texture Features and Reconstru...
PDF
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
PDF
Asymmetrical Half-Join Method on Dual Vision Face Recognition
PDF
Digital Image Forgery Detection Using Improved Illumination Detection Model
PDF
Ijcet 06 08_005
PDF
Regenerating face images from multi-spectral palm images using multiple fusio...
PDF
I045034956
A New Algorithm for Human Face Detection Using Skin Color Tone
Automatic rectification of perspective distortion from a single image using p...
Yawning analysis for driver drowsiness detection
International Journal of Engineering Research and Development (IJERD)
HSV Brightness Factor Matching for Gesture Recognition System
FOOT ANTHROPOMETRY DEVICE AND SINGLE OBJECT IMAGE THRESHOLDING
Gesture Recognition Review: A Survey of Various Gesture Recognition Algorithms
Improvement and Enhancement Point Search Algorithm
Face detection using the 3 x3 block rank patterns of gradient magnitude images
Color Constancy For Improving Skin Detection
Finger Print Image Compression for Extracting Texture Features and Reconstru...
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
Asymmetrical Half-Join Method on Dual Vision Face Recognition
Digital Image Forgery Detection Using Improved Illumination Detection Model
Ijcet 06 08_005
Regenerating face images from multi-spectral palm images using multiple fusio...
I045034956
Ad

Similar to Human Face Detection Systemin ANew Algorithm (20)

PDF
DETECTION OF LESION USING SVM
PDF
B017310612
PDF
IRJET- A Review on Various Techniques for Face Detection
PDF
50Combining Color Spaces for Human Skin Detection in Color Images using Skin ...
PDF
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
PDF
A novel approach for performance parameter estimation of face recognition bas...
PDF
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
PDF
Ck36515520
PDF
Real time voting system using face recognition for different expressions and ...
PDF
FACE DETECTION USING PRINCIPAL COMPONENT ANALYSIS
PDF
Aa4102207210
PDF
International Journal of Engineering Research and Development
PDF
A study of techniques for facial detection and expression classification
PDF
IRJET - Emotion Recognising System-Crowd Behavior Analysis
PDF
Face Detection in Digital Image: A Technical Review
PDF
IRJET- Emotionalizer : Face Emotion Detection System
PDF
IRJET - Emotionalizer : Face Emotion Detection System
PDF
IRJET- Face Counter using Matlab
PDF
Image–based face-detection-and-recognition-using-matlab
PDF
DETECTION OF LESION USING SVM
B017310612
IRJET- A Review on Various Techniques for Face Detection
50Combining Color Spaces for Human Skin Detection in Color Images using Skin ...
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
A novel approach for performance parameter estimation of face recognition bas...
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
Ck36515520
Real time voting system using face recognition for different expressions and ...
FACE DETECTION USING PRINCIPAL COMPONENT ANALYSIS
Aa4102207210
International Journal of Engineering Research and Development
A study of techniques for facial detection and expression classification
IRJET - Emotion Recognising System-Crowd Behavior Analysis
Face Detection in Digital Image: A Technical Review
IRJET- Emotionalizer : Face Emotion Detection System
IRJET - Emotionalizer : Face Emotion Detection System
IRJET- Face Counter using Matlab
Image–based face-detection-and-recognition-using-matlab
Ad

More from IOSRjournaljce (20)

PDF
3D Visualizations of Land Cover Maps
PDF
Comparison between Cisco ACI and VMWARE NSX
PDF
Student’s Skills Evaluation Techniques using Data Mining.
PDF
Classification Techniques: A Review
PDF
Analyzing the Difference of Cluster, Grid, Utility & Cloud Computing
PDF
Architecture of Cloud Computing
PDF
An Experimental Study of Diabetes Disease Prediction System Using Classificat...
PDF
Candidate Ranking and Evaluation System based on Digital Footprints
PDF
Multi Class Cervical Cancer Classification by using ERSTCM, EMSD & CFE method...
PDF
The Systematic Methodology for Accurate Test Packet Generation and Fault Loca...
PDF
The Use of K-NN and Bees Algorithm for Big Data Intrusion Detection System
PDF
Study and analysis of E-Governance Information Security (InfoSec) in Indian C...
PDF
An E-Governance Web Security Survey
PDF
Exploring 3D-Virtual Learning Environments with Adaptive Repetitions
PDF
Value Based Decision Control: Preferences Portfolio Allocation, Winer and Col...
PDF
Assessment of the Approaches Used in Indigenous Software Products Development...
PDF
Secure Data Sharing and Search in Cloud Based Data Using Authoritywise Dynami...
PDF
Panorama Technique for 3D Animation movie, Design and Evaluating
PDF
Density Driven Image Coding for Tumor Detection in mri Image
PDF
Analysis of the Waveform of the Acoustic Emission Signal via Analogue Modulat...
3D Visualizations of Land Cover Maps
Comparison between Cisco ACI and VMWARE NSX
Student’s Skills Evaluation Techniques using Data Mining.
Classification Techniques: A Review
Analyzing the Difference of Cluster, Grid, Utility & Cloud Computing
Architecture of Cloud Computing
An Experimental Study of Diabetes Disease Prediction System Using Classificat...
Candidate Ranking and Evaluation System based on Digital Footprints
Multi Class Cervical Cancer Classification by using ERSTCM, EMSD & CFE method...
The Systematic Methodology for Accurate Test Packet Generation and Fault Loca...
The Use of K-NN and Bees Algorithm for Big Data Intrusion Detection System
Study and analysis of E-Governance Information Security (InfoSec) in Indian C...
An E-Governance Web Security Survey
Exploring 3D-Virtual Learning Environments with Adaptive Repetitions
Value Based Decision Control: Preferences Portfolio Allocation, Winer and Col...
Assessment of the Approaches Used in Indigenous Software Products Development...
Secure Data Sharing and Search in Cloud Based Data Using Authoritywise Dynami...
Panorama Technique for 3D Animation movie, Design and Evaluating
Density Driven Image Coding for Tumor Detection in mri Image
Analysis of the Waveform of the Acoustic Emission Signal via Analogue Modulat...

Recently uploaded (20)

PDF
composite construction of structures.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Welding lecture in detail for understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Construction Project Organization Group 2.pptx
PDF
PPT on Performance Review to get promotions
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Well-logging-methods_new................
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
composite construction of structures.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
additive manufacturing of ss316l using mig welding
Welding lecture in detail for understanding
Model Code of Practice - Construction Work - 21102022 .pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Embodied AI: Ushering in the Next Era of Intelligent Systems
Lecture Notes Electrical Wiring System Components
Construction Project Organization Group 2.pptx
PPT on Performance Review to get promotions
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Well-logging-methods_new................
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx

Human Face Detection Systemin ANew Algorithm

  • 1. IOSR Journal of Computer Engineering (IOSR-JCE) e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 19, Issue 1, Ver. III (Jan.-Feb. 2017), PP 61-66 www.iosrjournals.org DOI: 10.9790/0661-1901036166 www.iosrjournals.org 61 | Page Human Face Detection Systemin ANew Algorithm HewaMajeedZangana Department of Computer Science / College of Computer Science and IT / Nawroz University / Kurdistan Region of Iraq Abstract:Trying to detecting a face from any photo is big problem and got these days a focusing because of it importance, in face recognition system,face detection in one of the basic components. A lot of troubles are there to be solved in order to create a successful face detection algorithm. The skin of face has its properties in color domain and also a texture which may help in the algorithm for detecting faces because of its ability to find skins from photo. Here we are going to create a new algorithm for human face detection depending on skin color tone specially YCbCr color tone as an approach to slice the photo into parts. In addition, Gray level has been used to detect the area which contains a skin, after that anotherlevel used to erase the area that does not contain skin. The system which proposed applied on many photos and passed with great accuracy of detecting faces and it has a good efficient especially to separate the area that does not contain skin or face from the area which contain face and skin. It has been agreed and approved that the accuracy of the proposed system is 98% in human face detection. Keywords: face detection, skin color, YCbCr. I. Introduction The Face of ahuman is carrying a lot of information like emotional and recognizing persons depending on his face. Face revealed in a complex scene and the fragmentation of its background is a precondition for any process verification using faces. Therefore,Powerful detection and diversify sectors is the first step in Build a fool-proof system. In near past face recognition and detection became a point of researchers where many applications and systems has been made depending on this idea of detection like control system to detect suspicious people and video surveillance and tracking faces and so on.The procedures and steps to get these systems of face detection and dividing photo are many and there will be many Barriers like the expression of face and the color of skin and maybe some other objects will be appeared or not related to illumination or may be even the direction of face or the background of the image or the space between object and the camera. The way to find faces from images and localization is called face detection. And it is the important move in face recognition system. Segmenting image is the biggest trouble in image processing. Segmenting face is a substantialmove in the system of recognizing faces, where many techniques areresorting to deal with faces in photos. Thus, segmenting and detecting faces must work successfully in finding the part which contains the face in the image given. The most point in recognizing face in human is the color of skin and it can be used to detecting faces from images. Even the color of skin is different between faces and many researchers proofed that the difference came from intensity more that chrominance. Various color spaces have been used to extract skin color like RGB, HSV, YCbCr.Methods of face detection can be divided into many features depending on the method itself and the image based method. Many people worked in this field of research like S. PatilKulakarniandH. C. Vijay Lakshmi and they worked on algorithm depending on color space, where they calculate the YCbCr and HSI together with Prewitt and canny edge detection approaches. This approach or technique has been used even by other people in the field of research. An algorithm proposed by I. Laurence Aroquiaraj and K. Satheeshwhich named Hit and missed transformed (HMT) depending on Mathematical Morphological operator for face segmentation, this algorithm specified the texture for gram photo to be use as a rule of segmenting face. A.H. Miry and El Abbadi, N.K.,proposed new approach to divide the skin area depending on histogram thresholding. The image which has been input to system filtered to erase many troubles of segmentation like variety in size, color and shapes. In order to enhance the photo a mathematical morphology has been used. II. ApproachAnd Proposed System In the current paper, we proposed a color image to be input and then to be transform into YCbCr mode of color space up to the following:
  • 2. Human Face Detection System in a New Algorithm HewaMajeedZangana DOI: 10.9790/0661-1901036166 www.iosrjournals.org 62 | Page Actually here the important component is the Cr, where the process of segmenting face from image will depend on the Cr. Figure 1 represent the process of transformed of image C B A Fig. 1:Image in three cases: A. Colored. B. The color space YCbCr. C. Cr Component. In addition, from the Cr component a binary image has been generated and this operation complete by taking every value of pixel of image and compare it with the threshold of Cr. Here it can be called detecting skin color tone because of depending on Cr component, where any value of pixel bigger than the mean of threshold will be skin and it will be colored by white color, where the white color value in image processing is equal to one in value. In the other hand, the pixel that represents the background of the image will be in black color especially where the black color in image processing represented by the value zero. The following is the equation of thresholding: Where h and w representing the height and width of input image, j and i indicate the coordinate of the pixel.The following Figure 2 represents the thresholding step A B Fig. 2: The step of implementing Binary Image: A. Input color image. B. The image in binary case. After that we will separate the pixels in colored image which had been input into separated area and even edge detection will be applied in order to locate the edges of the input image in order to separate the image into different regions and this will be done by doing the filter of mask as represented in Figure 3 of the input image, wherewe took the image and aplly scanning on it from up to bottom and left to right, after that we will
  • 3. Human Face Detection System in a New Algorithm HewaMajeedZangana DOI: 10.9790/0661-1901036166 www.iosrjournals.org 63 | Page apply edge detection by giving one value to the pixel which is matching the mask’s center and the other mask’s value will be either one or two or three, where the other area of pixels will be represented by zero value. All areas which had been separated and segmented will be numbered from the first area until the last area in the input image. In that matrix a gray level had been used in order to erase the areas which do not contain any face’s part. It had been done by the following procedures: 1. The input colored image converted to grayscale. 2. All areas will be divided by giving the all other areas black color and the area which we wanted to divide by giving it the white color. Here if we used more than one image it means we will have more than one white area, it depends on the number of images. 3. Drawing the white area of every single image which come from the second step with gray scale image which had been extracted from input image. Here we got gray color image for the area we assigned and a background of black color. 4. Doing the gray level Co- occurrence of matrix for every area in order to identify the areas which do not contain any part of face and erase it, and this will be done by giving a black color to it. The proposed equations of this paper as follows: The operation did not erase the whole non skin area from the photo even it left some areas in the same photo which could be pieces of face area. In order to make the effect of segmentation in the proposed algorithm be increased. Then we are going to concatenate the current photo with the colored original image in order to get the colored area. After that we are going to divide the photo to frames and those frames could be in different sizes and there will be an operation applied in it as follows:
  • 4. Human Face Detection System in a New Algorithm HewaMajeedZangana DOI: 10.9790/0661-1901036166 www.iosrjournals.org 64 | Page After that it is going to take every value of k and calculate the average of the gray level which is represent different results from every single pixel to another and the following steps will show the operation as follows: III. Results We have made a large database with many photos in order to test the proposed algorithm on them and they have been shown in fig. 5, fig. 6, fig. 7, fig. 8, fig. 9, and fig. 10. The all results come with faces and black backgrounds if the input photo contain face or if there is no face in the input photo the result will be just a black photo. In addition, we have represent some stages of the photo in the operation of applying the proposed algorithm on it starting from the colored photo which has been input until the result photo, like the YCbCr and the Cr component and the binary photo and finally the result photo which contain the face.
  • 5. Human Face Detection System in a New Algorithm HewaMajeedZangana DOI: 10.9790/0661-1901036166 www.iosrjournals.org 65 | Page In addition, we tested our proposed algorithm on some other photos which contain many faces in order to check the ability of it and how the results will be, the proposed algorithm shows the same results and worked very well and Fig. (11) represents a test of it. Fig. (11) Test (7) for Proposed Algorithm with a Photo Contains Many Faces In order to check the accuracy and the performance of proposed system we used criterias called recall and precision like following:
  • 6. Human Face Detection System in a New Algorithm HewaMajeedZangana DOI: 10.9790/0661-1901036166 www.iosrjournals.org 66 | Page We noticed that the time required to detect a face from any photo up to our proposed system took about only two seconds. IV. Conclusions In the current paper we proposed a new algorithm to detect a face from any photo and we depended on the skin color in order to make it be successful algorithm with a high accuracy. In addition, we divided the photo to some parts, some do not contain skin area and the other containing the skin area of face.The proposed algorithm has been applied on many photos in order to be sure about the accuracy and it is giving the same results with all photos.For future work we recommend to expand the current system to segment and detect the all skin of human body.We compared our proposed algorithm with other exist algorithms and the proposed algorithm gives good results as shown below: Criterion HSI Color Space [9] YcbcrColor Space [9] RGB Color Space [9] Proposed Algorithm Accuracy 73.8 ﹪ 84.61 ﹪ 21.64 ﹪ 98 References [1]. Hong, S. and al, e, "Facial feature detection using Geometrical face model: An efficient approach," journal of pattern recognition, Vols. 31, No. 3, pp. 273-282, 1998. [2]. Leung, C, "Real Time Face Recognition," B. Sc. Project, School of Information Technology and Electrical Engineering. University of Queesland, 2001. [3]. Sanjay Kr, Singh, D. S. Chauhan, MayankVatsa and Richa Singh, "A Robust Skin Color Based Face Detection Algorithm," Tamkang Journal of Science and Engineering, vol. 6 (4), pp. 227-234, 2003. [4]. Muhammad Tariq Mahmood, "Face Detection by Image Discriminating," 2006. [Online]. Available: http://www.bth.se/fou/cuppsats.nsf/all/6c509ae86a297ca4c12571d300512cac/$file/DVD009-MasterThesisReport.pdf. [5]. Michael Padilla and Zihong Fan, "Automatic Face Detection Using Color Based Segmentation and Template / Energy Thresholding," 2003. [Online]. Available: http://www.stanford.edu/class/ee368/Project_03/Project/reports/ee368group16.pdf. [6]. Rafael C. Gonzalez and Richard E. Woods, Digital Image Processing. 2nded, New Jersey: Prentice-Hall, 2001, pp. 75-103. [7]. C. A. Brewer, Color Use Guidelines for Data Representation, Alexandria: American Statistical Association, 1999, pp. P55-56. [8]. Sangwine, S. J. and Horne, R. E. N, The Color Image Processing Handbook, Chapman & Hall, 1st Edition, 1998. [9]. Raghuvanshi, D. S. and Agrawal, D., "Human Face Detection by using Skin Color Segmentation, Face Features and Regions Properties," International Journal of Computer Applications, vol. 38– No.9, 2012. [10]. HewaMajeedZangana, ImadFakhri Al-Shaikhli, A New Algorithm for Human Face Detection Using Skin Color Tone, IOSR Journal of Computer Engineering, Volume 11, Issue 6, pp 31-38, 2013