International Journal Education and Computer Studies (IJECS) 2 . , 2022, 19-26 Published Online May 2022 in IJECS . ttp://w. org/index. php/ijec. P-ISSN : 2776-4729. E-ISSN : 2776-3277. DOI: https://doi. org/10. 35870/ijecs. Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student Muhammad Furqan Rasyid * Informatics Management. Universitas Dipa Makassar. Indonesia. Corresponding Email: muhammad. furqan@undipa. Received: 25 March 2022. Accepted: 21 April 2022. Published: 15 May 2022. Abstract: Face recognition is the biometric personal identification that gaining a lot of attention recently. An increasing need for fast and accurate face expression recognition systems. Facial expression recognition is a system used to identify what expression is displayed by someone. In general, research on facial expression recognition only focuses on adult facial expressions. The introduction of human facial expressions is one of the very fields of research important because it is a blend of feelings and computer applications such as interactions between humans and computers, compressing data, face animation and face image search from a video. This research process recognizes facial expressions for toddlers, precisely for kindergarten students. But before making this research system Comparing three methods namely PCA. Fisherface and LBPH by adopts our new database that contains the face of individuals with a variety of pose and which will be used for facial expression recognition. Fisherface accuracy was obtained at 94%. LBPH 100%, and PCA 48. Keywords: Eearly Health Detection. Kindergarten. Facial Expression Recognition. PCA. Fisherface. LBPH. Introduction Kindergarten is the earliest level of education before entering the world of formal education or commonly called elementary school. For ordinary kindergarten students aged 0-5 years. The introduction of facial expressions has become a very important field for a variety of studies over a long period of time . Prolonged controversies sometimes even heat up, failing to show whether facial behaviors related to emotions are universal for men or specific for each culture . This study focuses on the facial expressions of children for toddlers . round 0-5 year. In contrast to adults who have six types of sad, confused, happy, afraid, angry, and shocked facial expressions . , kindergarten students only have four types of expressions that they normally display namely happy, smiling, sad and sleepy. Facial expressions recognition is a popular study in the field of computer vision. This system is useful for making smooth interactions between humans and computers . There are many studies regarding the introduction of expressions using video technology . The system for recognizing facial expressions of infants and young children began to be developed around 1980 . This study compares three methods of recognizing facial expressions of students, namely PCA. Fisherface and LBPH. Using 342 training data that we obtained from the John Kenade dataset. Jeffa dataset, and facial expression dataset obtained directly into kindergarten. The data were tested using 80 images consisting of 20 sad expressions, 20 happy expressions, 20 sleepy expressions, and 20 smile expressions. Furthermore, the best method for the recognition of facial expressions will be used for early health detection systems. Technical Review Face Detection Face detection is a challenge with increasing use in several applications. This is the first step for facial recognition, facial analysis, detection of other facial features . In this case, we recommend using the haar cascade method. This method allows the background area of the image to be disposed of quickly while spending more calculations in the area such as promising objects . Copyright A 2022 IJECS International Journal Education and Computer Studies (IJECS), 2 . 2022, 19-26 Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student Figure 1. Face Detection Expression Recognition The challenges of facial recognition such as variations in poses, changes in expression, reduction of illumination of object identification and verification performance . Beginning with face recognition, images are processed to find out facial expressions. There are four expressions that are often displayed by kindergarten students namely "happy", "sleepy", "sad", "smile". Apart from the many types of facial expressions, these four expressions are the expressions most often highlighted by kindergarten students. Figure 2. Exspression Classification : . Happy, . Sad, . Sleepy, . Smile PCA Principal Component Analysis (PCA) is a classic feature extraction method and data representation technique that is widely used in pattern recognition . ven the introduction of facial expressions. This section describes the eigenface approach . This method is effective in removing irrelevant information in images and overcoming their shortcomings . Figure 3. Describing the steps of the PCA process. Copyright A 2022 IJECS International Journal Education and Computer Studies (IJECS), 2 . 2022, 19-26 Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student Figure 3. Step of PCA This face recognition approach aims to describe face images into a small set of characteristic feature images called eigenfaces. that are used to represent existing and new faces. The training database consists of ycA mages of the same The image is normalized by converting each image matrix to an image vector equivalent to ycNycn . The training set matrix is a set of vector images with. Training set ycN = . cN1 , ycN2 . A , ycNyco ] . Face average. is an arithmetic mean vector as given by: yue = OcycA ycn=1 ycNycn The vector deviation for each image yuoycn is given by : yuoycn = ycNycn Oe yue ycA ycn = 1,2. A , ycA Consider the difference matrixya = . ue1 , yue2 . A A yueycA ] which only stores the distinguishing features for face images and deletes common features. Then eigenfaces are calculated by finding the Covariance ya matrix from the training vector image with: ya = ya. Because of the large dimensions of the ya matrix, we consider the size of the matrix ya . cAyc y ycAyc ) which gives the same effect as reducing dimensions. The eigenvector of C . atrix U) can be obtained by using the eigenvector L . atrix V) as given by:: ycOycn = yaycOycn The eigenfaces is : yceycnyciyceycuyceycaycayce = . cO1 , ycO2 , ycO3,A, ycOycA ] . Instead of using M eigenfaces, m '<= M was chosen as eigenspaces. Then weights each eigenvector yuiycn to represent the image in the eigenface space, as given by: yuiycn = ycOycn ycN . cN Oe yu. , ycn = 1,2. A , ycoA Weight matrix = . ui1, yui2. A , yuiycoA ]ycN Average grade projection = ycuycn ycu ycn Ocycn=1 ycn Euclidean distance yuycn . used to find out the distance between two face key vectors and given by : yuycn = An Oeycn An = OcycA yco=1. co Oe ycnyco ) Copyright A 2022 IJECS International Journal Education and Computer Studies (IJECS), 2 . 2022, 19-26 Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student The smallest distance is considered the result of a face match score. In this study, we saved several training images into eigenface. Images display training images that have been changed to eigenface based on the classification of expressions: Figure 4. Eigenface . Happy, . Sad, . Sleepy, . Smile 4 FisherFace Recognition FisherFace is an algorithm that uses linear methods to solve the problem of sensitivity to light conditions in facial recognition. Fisherface is one of the best facial recognition methods that achieve 68% accuracy without threshold. accuracy charts are displayed in figure 5. Figure 5. Comparison of accuracy of Fisherface. Eigenface and LBPH algorithms without threshold Fisherface considers the face class as an addition to the eigenface, although both methods use PCA to reduce the existing dimensions. However, eigenface does not distinguish facial images from other classes . Instead. Fisherface uses linear discriminant analysis . to distinguish faces between classes. The aim is to maximize the ratio of variation between classes with variations in a class. The scatter matrix in the class is defined as : ycN ycIycO = Ocyaycn=1 Ocyueyc yunycUycn. ueyc Oe yuNycn ). ueyc Oe yuNycn ) . Then the inter-class scatter matrix is defined as: ycN ycIyaA = Ocyaycn=1 ycAycn . ueyc Oe yuNycn ). ueyc Oe yuNycn ) . Where yuNycn is the average image of ycUycn and ycAycn is the sample number in class ycUycn in total class yca then, to find the projection ycO that maximizes class separation by solving the eigenvalue equation. As an eigenfaces method, fisherface uses PCA to reduce dimensions. In addition. Fisherface uses LDA on dimensional features that are reduced after PCA . Copyright A 2022 IJECS International Journal Education and Computer Studies (IJECS), 2 . 2022, 19-26 Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student LBPH Local Binary Pattern Histogram (LBPH) is a local feature based on facial representation proposed by Ahonen et . This method is based on a local binary pattern (LBP), which was first proposed as a texture description method, the appearance of the LBP code in an image collected in a histogram. Classification is then done by calculating the similarity of a simple histogram. However, considering the same approach for facial image representation results in a loss of spatial information and therefore, people must encode texture information while maintaining their location. LBPH has an invariant advantage over light intensity but requires more processing time than a holistic approach . The histogram of an image labeled yceya . cu, y. can be specified as: yaycn = Ocycu,yc ya. cu, y. } ycn = 0. A , ycu Oe 1 Where ycu is the number of different labels produced by the LBP operator and 1 ya ycnyc ycycycyce ya. = { 0 ya ycnyc yceycaycoycyce . Histograms obtained from images containing information about local facial micro patterns including face edges, student facial expressions, eye location, and other flat areas for adequate facial representation. Comparative studies were conducted to determine the best type of facial expression recognition algorithm. System Design This study uses python as a collaborative programming language using open cv as a library. his is an image from the introduction of expressions using all three methods : Used PCA . Figure 6. Facial expression using PCA . Happy, . Sad, . Sleepy, . Smile Used Fisherface . Copyright A 2022 IJECS . International Journal Education and Computer Studies (IJECS), 2 . 2022, 19-26 Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student . Figure 7. Facial expression using FisherFace . Happy, . Sad, . Sleepy, . Smile Used LBPH . Figure 8. Facial expression using LBPH . Happy, . Sad, . Sleepy, . Smile Result and Discussion This study used 80 test data which was divided into 4 classes, 20 sleepy facial expressions, 20 sad face expressions, 20 happy facial expressions, and 20 smiling facial expressions. This study used 342 training data consisting of 70 happy expression faces, 87 sad expression faces, 97 sleepy facial expressions, and 88 facial smile expressions. the training process uses Fisherface. PCA, and LBPH methods. for a comparison of the accuracy of each method used, shown in table Table 1. Comparison Table Result Method Number Of Face Accuration PCA 48,75% FisherFace 93,8% LBPH Copyright A 2022 IJECS International Journal Education and Computer Studies (IJECS), 2 . 2022, 19-26 Comparison Of LBPH. Fisherface, and PCA For Facial Expression Recognition of Kindergarten Student Accuration PCA Fisherface LBPH Figure 9. Recognition accuracy comparison chart The placement of cameras and lighting is still the main cause so that the introduction of facial expressions has difficulty in carrying out the process. The camera should be installed with a distance not too far away and not too high with the object so that it can obtain clearer and better image quality. Acknowledgment Thank you to the AIKO Islamic Kindergarten. Makassar, which is a place for taking facial expressions for kindergarten References