Skip to content

andresmitre/Emotion_Classification

Repository files navigation

Emotion_Classification

Center for Research in Mathematics (CIMAT)

Author: Andres Mitre

Email: [email protected] | [email protected]

Twitter: https://twitter.com/andres18m

Spring 2018

The present work is part of an Undergraduate thesis for B.E. in Telecommunications, OS and Electronics in Autonomous University of Sinaloa (in Spanish: Universidad Autónoma de Sinaloa, UAS) in Sinaloa, México. The work was developed in Center for Research in Mathematics (CIMAT)

ABOUT COPYING OR USING PARTIAL INFORMATION: This script was originally created by Andres Mitre. READ LICENSE FILE

Repository description

"Deep learning is a group of exciting new technologies for neural networks. Through a combination of advanced training techniques and neural network architectural components, it is now possible to create neural networks of much greater complexity. Deep learning allows a neural network to learn hierarchies of information in a way that is like the function of the human brain." [1]

The data collection, starts with a FER(Facial Expression Recognition) using haarcascades, with a professional camera/webcam. Images were taken while 23 participants watched a series of films related with emotions. The images were saved into separate emotions folders. GSR lectures were recorded as well since stress and boredom emotions stimulates the activity of sweet glands. the GSR were captured with the Grove - GSR sensor and saved into a CSV file.

The classifation for FER was made with a Convolutional Neural Network by TensorFlow with a total of 1375 images into 8 different classes, the validation/explotation stage takes 10% of the data set and validates the CNN. On the other hand the identification between emotions was made with use of Wilcoxon signed-rank test using IBM SPPS.

Abstract

The state of the art of emotion recognition, has shown a significant role for learning and the identification of emotions that affect it. The importance in distinguishing acted and spontaneous emotions, contributes in the avoidance of biases in emotions related to learning, which entails identifying variables that affect it. The objective of this work, is the reliable recognition of spontaneous and acted emotions related with learning activities through a classificatory off facial expressions and Galvanic Skin Response (GSR). The induction of spontaneous emotions, were generated by clips from movies that showed a good capacity to induce positive and negative effects, elevated levels of emotional activation and variations in the perception of emotional control. On the other hand, the emotions performed were replicated by the participants imitating a sequence of illustrations referencing the emotions. The classificatory was applied to 23 participants of Hispanic ethnic, participants were told a series of instructions. The experiments in this work were based in emotion classification by facial expressions through a Convolutional Neural Network and Galvanic Skin Response. Once, obtained the raw data of the experiment, it processed to the training of classificatory from deep learning and statistical analysis. The Convolutional Neural Network, presented a validation accuracy of 96.5%, a confusion matrix was made with the images of the data set at random and external data sets. In the confusion matrix of the external data set, the real emotions are confused with others, mainly in happy and boredom, correctly classifying in the stress. In the results of Galvanic Skin Response, percentage change tests were performed between the emotions in which significant different were found in happy and boredom, except in stress. With the support of the Neuronal Convolutional Network and Galvanic Skin Activity, it is possible to have a correct classifier of emotions related to learning activities.

Datasets

Contact Author

Content

Module Content
Module 1
  • Introduction
Module 2
  • Haar Feature-based Cascade Classifiers
Module 3
  • Data acquisition
Module 4
  • Convolutional Neural Network

VIVA MEXICO !

[1] Heaton Jeff, "T81 558:Applications of Deep Neural Networks", https://github.com/jeffheaton/t81_558_deep_learning

About

FER with CNN and GSR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published