This paper presents a lightweight algorithm for feature extraction, classification of seven different emotions, and facial expression recognition in a real-time manner based on static images of the human face. In this regard, a Multi-Layer Perceptron (MLP) neural network is trained based on the foregoing algorithm. In order to classify human faces, first, some pre-processing is applied to the input image, which can localize and cut out faces from it. In the next step, a facial landmark detection library is used, which can detect the landmarks of each face. Then, the human face is split into upper and lower faces, which enables the extraction of the desired features from each part. In the proposed model, both geometric and texture-based feature types are taken into account. After the feature extraction phase, a normalized vector of features is created. A 3-layer MLP is trained using these feature vectors, leading to 96% accuracy on the test set.
翻译:本文介绍了基于人脸静态图像的地貌提取、七种不同情感分类和面部表情识别的轻量级算法。 在这方面,根据上述算法培训了多角度倍感神经网络。 首先,为了对人脸进行分类,对输入图像应用了某种预处理方法,可以对面部进行本地化和切除。下一步,使用一个面部标志检测库,可以探测每个面部的标志。然后,将人脸分为上面和下面,以便从每个面部提取所期望的特征。在拟议的模型中,既考虑到几何特征类型,又考虑到基于质谱的特征类型。在特征提取阶段后,将创建了一个正常的特征矢量。一个三层MLP是使用这些特征矢量进行的培训,使测试集的精确度达到96%。