IEEE Access (Jan 2020)

PyFER: A Facial Expression Recognizer Based on Convolutional Neural Networks

  • Abdullah Talha Kabakus

DOI
https://doi.org/10.1109/ACCESS.2020.3012703
Journal volume & issue
Vol. 8
pp. 142243 – 142249

Abstract

Read online

Facial expression recognition (FER), one of the most trending research areas of the Human-Machine Interaction, is the task of detecting emotions by analyzing facial expressions and this analysis plays a critical role as it conveys the clearest information regarding the emotions of people. Despite the fact that the traditional machine learning algorithms produce high accuracies for similar tasks, they lack to detect emotions of faces, which are captured in a spontaneous manner (a.k.a. “in the wild”) or in different poses or environmental conditions. In this article, a novel convolutional neural network architecture, namely, PyFER, is proposed to address the FER problem, of which the efficiency was revealed thanks to the experiments conducted on a widely-used benchmark dataset. According to the experimental results, the accuracy of PyFER was calculated to be as high as 96.3% on a de-facto standard dataset, namely, CK +, and all facial expressions, except for $happiness$ , were correctly detected by PyFER, which is encouraging for future studies. 16.67% of the images that actually represented the facial expression happiness were misdetected as the facial expression fear. The experimental results confirmed that the proposed neural network architecture is fast enough to be integrated into real-time FER applications as it was able to complete the analysis of a given photo for an average of 12.8 milliseconds, which is in the tolerable limit to latency for real-time applications.

Keywords