Professional Documents
Culture Documents
Experiment No:
Submitted to:
Lecturer,Department of CSE
Submitted by:
ID:192-15-2853 , ID:192-15-2864
ID:192-15-2875 , ID:192-15-2888
Section : PC-B
Department of CSE
2. Abstract:
Keras is a very powerful open source Python library which is runs on
top of top of other open source machine libraries like TensorFlow,
Theano etc, used for developing and evaluating deep learning models
and leverages various optimization techniques. Features — Keras fully
supports recurrent neural networks and convolution neural networks
Keras runs smoothly on both CPU and GPU Keras NN are written in
Python which advocates simplicity and great debugging power Keras is
known for its incredibly expressive, flexible, minimal structure Keras is
consistent, simple and extensible API Keras is also known for its highly
computational scalability Extensive support for various platforms and
backends.
3. Objective:
Inspecting and manipulating the data Creating our own custom FER
model from scratch Applications of FER systems Introduction Facial
Emotion Recognition (commonly known as FER) is one of the most
researched field of computer vision till date and is still in continuous
evaluation and improvement. The idea is, can we detect the emotion a
person is having by his/her facial expressions? Of-course as a human
we can very easily do that and in-fact we do this thousands of times
every day. But can we make our so called dumb-machines intelligent
enough so they can also achieve human level performance on these
emotion recognizing task? See, because we humans have emotions
that’s why we are easily able to detect other’s emotions but that’s not
the case with machines. The advancements in the field of computer
vision are skyrocketing, these tasks are no more that difficult, at-least
we are able to achieve good performance with very less amount of
efforts. We will see how that can be done with few lines of python code.
4. Methodology:
In this paper, deep learning with the convolutional neural network
approach is used. The Keras Application Programming Interface and
OpenCV framework were used [12]. OpenCV is used for the automatic
detection of faces and drawing bounding boxes around them. OpenCV
consists of many pre- trained classifiers for face, eyes, smile etc [13-
16]. The model here is trained with the dataset used in the ICMR
(International Conference on Machine Learning). This dataset can be
taken from the Kaggle website. All the images of the dataset are of size
48*48. To select some images from every category, utility function can
be used [17-20].
5. Work Process and Methods:
The facial expressions datasets of different people. We need to check
the class imbalance problem before modeling and perform the data
augmentation and check which class has lesser data and provide more
of the data of the minority class. So, the number of images contained in
each section should be checked [21-23]. These command lines can be
used for this purpose, for expression in
os.listdir("train/"):print(str(len(os.listdir("train/" + expression))) + " " +
expression + " images")The training data should be set based on
expressions. Dataset is split into 80% training and 20% test. During
training, the loss of the neural network is minimized using the mini batch
gradient descent[24-25]. In the paper, two data generators are used.
One is for the training and the other is for testing.
6. Facial Expression & Emotion:
According to the basic definition of emotion by Ekman and Friesen,
emotions are divided into six classes, namely happy, sad, surprise, fear,
disgust, angry. In this paper talks about seven face detection classifiers
using open CV and one of its classiers for drawing the boundary box
around the face to detect the correct expression. For training the CNN
models we have used 48x48 grey–scale images from dataset. The FER
data set is divided into two folders called test and train, further divided
into separate folder each containing one of the seven types of FER data
base.
7. Conclusion:
Facial expression recognition is done using deep learning with the
convolutional neural network approach CNN and automatic detection of
faces and drawing bounding boxes around them are done using
different data set’s. The activation is done using the RELU activation
function in the work. The validation is done with the real time images
with different expression. The proposed model gives the correct
expression name using the trained CNN network
8. Reference:
[1] F. Ahmed, H. Bari, and E. Hossain. Person-independent facial
expression recognition based on compound local binary pattern (clbp).
Int.Arab J. Inf. Technol., 11(2):195–203, 2014.
[4] C.-C. Chang and C.-J. Lin. Libsvm: a library for support vector
machines. ACM Transactions on Intelligent Systems and
Technology(TIST), 2(3):27, 2011.
[11] Murali Krishna, B., Siva Kumar, M., Rajesh, J., Inthiyaz, S.,
Mounica, J., Bhavani, M., Adidela, C.N.FPGA implementation by using
XBee transceiver2016 Indian Journal of Science and Technology9(17).
[12] Vijaya Lakshmi, A., Ghali, V.S., Muzammil Parvez, M., Chandra
Sekhar Yadav, G.V.P., Gopi Tilak, V.Fuzzy C-means clustering based
anomalies detection in quadratic frequency modulated thermal wave
imagingInternational Journal of Recent Technology and
Engineering8(3), pp. 4047-4051
[16] Raja C., Balaji L. (2019), ‘An Automatic Detection of Blood Vessel
in Retinal Images Using Convolution Neural Network for Diabetic
Retinopathy Detection’, Pattern Recognition and Image Analysis, 29(3),
PP.533-545.
[18] .Inthiyaz, S., Prasad, M.V.D., Usha Sri Lakshmi, R., Sri Sai, N.T.B.,
Kumar, Ahammad,S.H.Agriculture based plant leaf health assessment
tool: A deep learning perspective International Journal of Emerging
Trends in Engineering Research 7(11), pp. 690- 694
[19] Myla, S., Marella, S.T., Goud, A.S., Ahammad, S.H., Kumar,
G.N.S., Inthiyaz, SDesign decision taking system for student career
selection for accurate academic system , 2019 International Journal of
Scientific and Technology Research8(9), pp. 2199-2206
Thank You