Robust CNN for facial emotion recognition and real-time GUI

被引:0
|
作者
Ali I. [1 ]
Ghaffar F. [2 ]
机构
[1] Department of Computer Science, University of Swat, KP, Swat
[2] System Design Engineering Department, University of Waterloo, Waterloo
来源
关键词
CNN; facial emotions; GUI; prediction; preprocessing; recognition;
D O I
10.3934/electreng.2024010
中图分类号
学科分类号
摘要
Computer vision is witnessing a surge of interest in machines accurately recognizing and interpreting human emotions through facial expression analysis. However, variations in image properties such as brightness, contrast, and resolution make it harder for models to predict the underlying emotion accurately. Utilizing a robust architecture of a convolutional neural network (CNN), we designed an efficacious framework for facial emotion recognition that predicts emotions and assigns corresponding probabilities to each fundamental human emotion. Each image is processed with various pre-processing steps before inputting it to the CNN to enhance the visibility and clarity of facial features, enabling the CNN to learn more effectively from the data. As CNNs entail a large amount of data for training, we used a data augmentation technique that helps to enhance the model's generalization capabilities, enabling it to effectively handle previously unseen data. To train the model, we joined the datasets, namely JAFFE and KDEF. We allocated 90% of the data for training, reserving the remaining 10% for testing purposes. The results of the CCN framework demonstrated a peak accuracy of 78.1%, which was achieved with the joint dataset. This accuracy indicated the model's capability to recognize facial emotions with a promising level of performance. Additionally, we developed an application with a graphical user interface for real-time facial emotion classification. This application allows users to classify emotions from still images and live video feeds, making it practical and user-friendly. The real-time application further demonstrates the system's practicality and potential for various real-world applications involving facial emotion analysis. © 2024 the Author(s).
引用
收藏
页码:217 / 236
页数:19
相关论文
共 50 条
  • [1] Real-Time Facial Expression Recognition Based on CNN
    Liu, Keng-Cheng
    Hsu, Chen-Chien
    Wang, Wei-Yen
    Chiang, Hsin-Han
    PROCEEDINGS OF 2019 INTERNATIONAL CONFERENCE ON SYSTEM SCIENCE AND ENGINEERING (ICSSE), 2019, : 120 - 123
  • [2] Facial emotion recognition in real-time and static images
    Gupta, Shivam
    PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON INVENTIVE SYSTEMS AND CONTROL (ICISC 2018), 2018, : 553 - 560
  • [3] Real-time facial feature extraction and emotion recognition
    De Silva, LC
    Hui, SC
    ICICS-PCM 2003, VOLS 1-3, PROCEEDINGS, 2003, : 1310 - 1314
  • [4] Real Time Emotion Recognition from Facial Expressions Using CNN Architecture
    Ozdemir, Mehmet Akif
    Elagoz, Berkay
    Alaybeyoglu, Aysegul
    Sadighzadeh, Reza
    Akan, Aydin
    2019 MEDICAL TECHNOLOGIES CONGRESS (TIPTEKNO), 2019, : 417 - 420
  • [5] Robust real-time emotion detection system using CNN architecture
    Shruti Jaiswal
    G. C. Nandi
    Neural Computing and Applications, 2020, 32 : 11253 - 11262
  • [6] Robust real-time emotion detection system using CNN architecture
    Jaiswal, Shruti
    Nandi, G. C.
    NEURAL COMPUTING & APPLICATIONS, 2020, 32 (15): : 11253 - 11262
  • [7] Using Kinect for real-time emotion recognition via facial expressions
    Qi-rong Mao
    Xin-yu Pan
    Yong-zhao Zhan
    Xiang-jun Shen
    Frontiers of Information Technology & Electronic Engineering, 2015, 16 : 272 - 282
  • [8] Real-time Algorithms for Facial Emotion Recognition: A Comparison of Different Approaches
    Kartali, Aneta
    Roglic, Milos
    Barjaktarovic, Marko
    Duric-Jovicic, Milica
    Jankovic, Milica M.
    2018 14TH SYMPOSIUM ON NEURAL NETWORKS AND APPLICATIONS (NEUREL), 2018,
  • [9] Using Kinect for real-time emotion recognition via facial expressions
    Mao, Qi-rong
    Pan, Xin-yu
    Zhan, Yong-zhao
    Shen, Xiang-jun
    FRONTIERS OF INFORMATION TECHNOLOGY & ELECTRONIC ENGINEERING, 2015, 16 (04) : 272 - 282
  • [10] Real-time facial expression recognition using a fuzzy emotion model
    Esau, Natascha
    Wetzel, Evgenija
    Kleinjohann, Lisa
    Kleinjohann, Bernd
    2007 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS, VOLS 1-4, 2007, : 697 - +