Causal Artificial Intelligence
by Rajdeep Chakraborty, Aleem Ali, Amit Paul, Nawaf R. Alharbe, S. Balamurugan
9Facial Emotion Detection Using Causal AI
Esha Kundu and Arijit Ghosal*
Department of Information Technology, St. Thomas’ College of Engineering and Technology, Kolkata, West Bengal, India
Abstract
The objective of the work is to propose a facial emotion detection algorithm that can detect the facial emotion of a person. Activities carried out based on the detected emotions fall under causal AI, which is a sub-domain of artificial intelligence (AI) that focuses on understanding and modelling cause-and-effect relationships within data, instead of just identifying patterns or correlations. This work helps determine the facial emotion, which can be utilized in healthcare domains like music therapy or even for the purpose of music recommendation and other modern AI-based automated tasks.
The facial emotion detection model has been trained and tested on the FER2013 dataset collected from Kaggle. Emotion detected from the face is classified into seven common emotions: surprise, neutral, sad, fear, happy, angry, and disgust. First, data cleaning was done on the FER-2013 dataset using “Haar Cascade” to identify if a human face exists in each of the images of the dataset and remove images in which a human face was not detected. Facial features like region of interest (ROI), facial landmarks, and histogram of oriented gradients (HOG) magnitude and direction from the images were extracted. Several machine learning approaches were implemented to judge the performance of the approach. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access