{'fraction_non_alphanumeric': 0.021046301864101023, 'fraction_numerical': 0.004209260372820205, 'mean_word_length': 5.449612403100775, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
EmotionNet: ResNeXt Inspired CNN Architecture for Emotion Analysis on Raspberry Pi

Facial Expression Recognition has seen remarkable advancements in scientific research and development in recent years. Furthermore, these advancements have enabled to efficiently extract facial features for psychological analysis, improvement of consumer experience, and research on human-computer interaction. Facial expressions play a vital role in human existence because they are a significant part of non-verbal communication. However, existing FER systems require large computational capacity, rendering them unusable for use in either small-scale systems or large-scale deployments. Presented work aims to find a solution to aforesaid problem by developing an FER system capable of running on affordable and modular devices specifically Raspberry pi. In presented work, the FER system is developed that identifies and extracts the face using OpenCV, then classifies the expressions using a ResNeXt inspired CNN architecture named EmotionNet. The classifier network was trained on the FERPlus dataset, and it achieved 70.22% micro-accuracy on the test set. An interactive GUI platform was designed using KivyMD to control the overall system. The classification of facial expression takes place into the following five categories: neutral, happy, sad, angry, and surprised. The detected emotion is used to generate a descriptive report consisting of qualitative material, in order to apprise the user of their state of emotion, and alter it in case of negative emotions. The developed system running on Raspberry Pi provides a high throughput rate of 1.33 frames per second.