Final

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY

(An Autonomous Institution)


Pachapalayam, Perur Chettipalayam, Coimbatore- 641 010

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

20CS902 - FINAL YEAR PROJECT

Phase - I

Review - 0

01-07-2024 BATCH ID: 50 FYP REVIEW 0 1


Stress Detection Using Machine
Learning And Image Processing
Project Guide
DR. R M S Parvathi

Team Members
Sanjay M (7138210129)
Santhosh Kumar P (71382102307)
Solai Murugan P (71382102309)
ABSTRACT
The rapid pace of modern life has amplified stress levels, making stress detection a crucial area of

research for improving mental health. This project explores an non-traditional approach to stress

detection by integrating machine learning algorithms with advanced image processing

techniques. We utilize facial expression analysis captured through non-intrusive imaging, to

identify stress indicators. Our methodology involves extracting relevant features from images and

employing a robust machine learning model to detect stress accurately. The proposed system

offers a non-invasive, real-time solution for stress detection, potentially transforming how we

understand and manage stress in daily life. The findings highlight the effectiveness of combining

machine learning with image processing to enhance the accuracy and reliability of stress

detection.
INTRODUCTION
In today's fast-paced world, stress has become a pervasive issue affecting millions of individuals

globally. Chronic stress can lead to severe health problems, including anxiety, depression,

cardiovascular diseases, and weakened immune response. Despite the critical need for effective

stress management, traditional methods of stress detection often rely on self-report questionnaires

or invasive physiological monitoring, which can be cumbersome and inaccurate. This project

aims to address these limitations by developing a non-invasive, real-time stress detection system

using the combined power of machine learning and image processing. The objective of this

project is to harness the capabilities of machine learning algorithms and advanced image

processing techniques to detect stress with high accuracy and efficiency. By analysing facial

expressions, body language from images, we can identify subtle indicators of stress that may be

missed by the human eye.


Contd…
Key Features

• Non-Invasive: The system relies on visual and physiological data, avoiding the need for intrusive methods.

• Real-Time Analysis: Provides immediate feedback on stress , enabling timely intervention.

• High Accuracy: Utilizes advanced machine learning models trained on diverse datasets to ensure accurate
stress detection.

• User-Friendly Interface: Designed to be accessible and easy to use for individuals without technical
expertise.

• Scalability: Can be deployed in various environments, from personal health monitoring to workplace stress
management and clinical settings.
LITERATURE REVIEW
A Depression Recognition Method for College Students Using Deep
PAPER
Integrated Support Vector Algorithm (IEEE 2020)

AUTHORS Yan Ding, Xuemei Chen, Qiming Fu, and Shan Zhong

The feasibility of detecting depression in college students using Weibo data


is analyzed theoretically. Weibo data is considered more suitable than data
from other social networks like WeChat or QQ, as Weibo users do not
require real-name authentication and are more likely to express their true
thoughts and emotions

Deep neural networks are used to extract features from the Weibo data,
INFERENCE which is then used to train a deep integrated support vector machine
(DISVM) model for depression recognition. The DISVM model uses the
AdaBoost integration strategy to improve the stability and accuracy of the
classification.

Experiments show that the DISVM-based depression recognition model


outperforms other traditional classifiers like RBF-NN, SVM, and KNN in
terms of classification accuracy.
Contd…
PAPER Stress Detection Using Machine Learning (IJSHR 2023)

AUTHORS Rohini Hanchate, Harshal Narute, Siddharam Shavage, Karan Tiwari

The research paper utilizes machine learning techniques, specifically the


CNN algorithm, to classify user testing values with the train data-set to
determine if the input indicates depression in individuals. Machine learning
is employed to enhance prediction accuracy

Image processing methods like Fisher vector and LTrP algorithms are
utilized in the paper to detect depression through facial expressions,
INFERENCE
providing a safe and reliable approach without the need for a psychiatrist's
involvement

By integrating machine learning algorithms with image processing tools, the


research aims to address the increasing stress levels in employees,
particularly in IT industries, where advancements often contribute to higher
stress levels among workers
Contd…
Stress detection in IT professional by image processing and machine
PAPER learning (IJREAM 2021)

Prof. Vishal R. Shinde, Mr.Shubham Memane, Miss.Priya Thakare,


AUTHORS
Miss.Vibha Vishe
The paper aims to detect stress in IT professionals using image processing
and machine learning techniques. The goal is to monitor the emotional status
of a person working in front of a computer for long durations and
detect/reduce stress to create a more comfortable workplace.

The system uses a real-time, non-intrusive video capture to detect the


emotional status of a person by analyzing their facial expressions. It detects
INFERENCE the individual's emotion in each video frame and makes a decision on the
stress level based on the analysis over sequential video frames.

The system employs image processing techniques like facial region of


interest (ROI) detection, data preprocessing, and deep learning algorithms to
predict the stress levels. Machine learning techniques like KNN classifiers
are applied to classify the stress levels based on the extracted facial features
and image analysis.
Contd…
Effects of Daily Stress in Mental State Classification (IEEE 2020)
PAPER

AUTHORS Soyeon Park (Student Member, IEEE) and Suh-Yeon Dong (Member, IEEE)

The study investigated the effects of daily stress on mental state


classification using functional near-infrared spectroscopy (fNIRS) signals.

They extracted six signal features (signal slope, mean, variance, peak,
kurtosis, and skewness) from the fNIRS data and used them to classify daily
stress levels and mental states (rest vs. task).The results showed that daily
stress levels could be classified with high accuracy using the signal features,
INFERENCE especially the signal mean, peak, and skewness.

The mental state classification performance was also affected by the daily
stress levels, with the models that considered daily stress outperforming the
models that did not. Specifically, the signal kurtosis feature was found to be
highly influenced by daily stress and contributed significantly to the mental
state classification.
Proposed System
Overview

The proposed system for "Stress Detection using Machine Learning and Image Processing" aims to create a

comprehensive solution that can accurately detect and monitor stress levels in individuals using advanced

technological methods. The system will integrate machine learning algorithms and image processing

techniques to analyze various physiological and behavioral indicators of stress.


Contd…

System Components

• Data Acquisition Module

Camera Setup: High-resolution camera to capture facial expressions and body language.

• Data Processing Module

• Preprocessing: Cleaning, Filtering and enhancement of image data to improve quality and reduce

noise.

• Feature Extraction: Extraction of key features from image data (e.g., facial expressions, posture).
Contd…
• Machine Learning Module

• Preprocessing: Implementation of supervised and unsupervised learning algorithms to classify

stress levels. Possible algorithms include Support Vector Machines (SVM), Random Forests,

Convolutional Neural Networks (CNN), and Recurrent Neural Networks (RNN).

• Model Training: Training the models using labeled datasets of image data to recognize patterns

associated with different stress levels.

• Model Evaluation: Validation and testing of models to ensure accuracy and robustness. Use of

cross-validation techniques and performance metrics such as accuracy, precision, recall, and F1-

score.
Contd…
• Image Processing Module

• Facial Expression Analysis: Detection and analysis of facial expressions using techniques like

Haar cascades and deep learning-based approaches.

• Posture and Gesture Recognition: Analysis of body language through skeletal tracking and

gesture recognition algorithms.

• Emotion Recognition: Integration with emotion recognition systems to correlate facial expressions

and body language with stress indicators.

• User Interface Module

• User Interface: An intuitive and user-friendly interface to collect and display the feedback data.

• Web Application: A companion web application for convenient access to detect stress using facial

expressions from the images.


TASKS JULY 2024 AUG 2024 SEP 2024 OCT 2024 NOV 2024 DEC 2024

Literature Survey

Data collection, Augmentation

Web Application Design and


Analysis

Development of the Web


Application (UI)

Feature Extraction
Selection and Training of ML
Model

Model Integration and Testing

Deployment and
Demonstration

Documentation and Reporting


References
[1] “A Depression Recognition Method for College Students Using Deep Integrated
Support Vector Algorithm”, Yan Ding, Xuemei Chen, Qiming Fu, and Shan Zhong.,
(IEEE 2020)

[2] “Stress Detection Using Machine Learning”, Rohini Hanchate, Harshal Narute,
Siddharam Shavage, Karan Tiwari., (IJSHR 2023)

[3] “Stress detection in IT professional by image processing and machine


learning”, Prof. Vishal R. Shinde, Mr.Shubham Memane, Miss.Priya Thakare,
Miss.Vibha Vishe., (IJREAM 2021).

[4] “Effects of Daily Stress in Mental State Classification”, Soyeon Park (Student
Member, IEEE) and Suh-Yeon Dong (Member, IEEE)., (IEEE 2020)
THE END