Deep Learning Model for Automatic and Real-Time Detection and Identification of Faces from Digital Images
The expression on a human's face is a crucial aspect of communication and plays a significant role in conveying emotions and information visually. Although recognizing emotions from facial expressions comes naturally to humans, it presents a substantial challenge for computer algorithms. Extracting features through various image processing techniques is essential for machines to interpret emotions from images or videos. The development of an algorithm that can detect, extract, and evaluate facial expressions would enable automatic recognition of human emotions in digital images and videos. This study introduces a real-time facial emotion recognition system that utilizes a Convolutional Neural Network (CNN) to process image frames, detect faces, and recognize emotions from facial expressions. By training the CNN model on a large dataset of facial images and emotions, the system achieves accurate and rapid emotion recognition performance. The datasets utilized included FER2013 and CohnKanade (CK) obtained from the Kaggle dataset.The Precision, Recall, and F-score from the CK dataset were 83.6142%, 95.0822%, and 88.9955%, respectively, while those of the FER2013 dataset were 91.8986%, 98.3649%, and 95.0218%, respectively. The developed system has the ability to rapidly detect faces in cluttered backgrounds and accurately classify emotions in real-time. Various recognition techniques were compared, and a tradeoff between accuracy and speed was evaluated for each. The results indicate that the CNN-based approach is highly effective in accurately recognizing facial emotions, with significant potential for realworld applications of facial emotion detection. The real-time implementation of the system can be used for person identification and authentication. Additionally, it can be utilized by doctors to understand the intensity of pain or illness in deaf patients.In security systems, it can identify a person regardless of their presented expression, and it can also detect driver drowsiness during driving to enhance safety precautions. The system is capable of recognizing spontaneous expressions, and it can be utilized to track emotional states and conduct real- world testing to identify and address practical challenges that may not be evident in a controlled environment.
Authors
- Mamza Godiya Jasini
Publication Details
- Journal
- INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND MATHEMATICAL THEORY E-ISSN
- Published
- 2026-11-13
- DOI
- https://doi.org/10.56201/ijcsmt.v10.no4.2024.pg21.52
- Primary Topic
- Emotion and Mood Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00