Skip to content

⛑️ An emotion classification system that uses machine learning to predict your pain level

Notifications You must be signed in to change notification settings

elischberg/py.pain-detection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py.pain-detection

Emotion Detection and Pain Assessment System

Table of Contents

  1. Motivation
  2. Summary
  3. Disclaimer

Motivation

Pain sensation is one of the diagnostic indicators of sickness, and is defined as:

“an unpleasant sensory and emotional experience that is associated with actual or potential tissue damage or described in such terms.” — International Association for the Study of Pain

Pain is naturally relative; each person interprets their feeling of pain with respect to their previous experiences with the sensation.

Stemming from the scientific and medical significance of emotion detection, as well as the merits promised by the prospect of an objectively precise pain detection system; this project was built to facilitate such possibilities by only using images.

Summary

The emotion detection and pain assessment system is responsible for taking input via capturing real-time frames of the user’s face, and afterwards be able to differentiate between the 7 basic emotions, detect the existence of pain sensation as well as its intensity.

The system deep convolutional neural network models are trained on the Facial Expression Recognition dataset as well as the UNBC-McMaster shoulder pain levels dataset. Therefore is able to classify the facial expressions in frames of the test set created along the course of the project, consisting of 24 images, constructed by 8 users, with very high confidence and precision up to 70% to 80%; and in the case of pain classification, the integrated system is able to assess the user’s pain level with an accuracy above 90%.

Disclaimer

This project is the core of my bachelor project at DHBW Stuttgart under the supervision of Prof. Dr. Dirk Reichardt.

About

⛑️ An emotion classification system that uses machine learning to predict your pain level

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.3%
  • Jupyter Notebook 37.6%
  • TeX 3.1%