top of page
Using Mobile Phones

Depression Detection

Role: Frontend Development

Timeline: May-November 2022

Introduction

Depression is a common mental disorder, which can happen to anyone at any stage of life. In most cases, it is not recognizable even by the person suffering from it. The main goal of this project is to detect whether a person is depressed or not and then identify the level of depression the person is suffering from.

Background

More than 280 million individuals of all ages (or around 3.5% of the world's population) suffer from depression, a mental condition characterized by low mood and aversion to action. Depression, which is categorized medically as a mental and behavioral condition, has an impact on a person's motivation, thoughts, behavior, feelings, and sense of well-being. Anhedonia, which describes a loss of interest or pleasure in those things that ordinarily bring individuals delight, is considered to be the primary sign of depression.

 

The recent increase in sadness and anxiety that accompanied the start of the pandemic has been influenced by elements like the weakening economy, virus-related anxiety, and social alienation. 

 

The Why: To prevent unfavorable events, it is crucial to recognize a person's mental state (such as stress, worry, or despair). Hence, developing an interface for its detection and prevention is of utmost importance.

 

The Goals: The goal is to provide assistance to medical practitioners with the analytics for the behavioral understanding of the potential patient suffering from depression using the multi-modular approach, taking into consideration the Audio, Video, and Textual features of the person. This project's major objective is to determine a person's level of depression before determining whether or not they are depressed. 

Methodology

The project flow is interdependent between each module, which would be responsible for various work at different project stages, where output from one module may be input for another, and so on. Still, the final output is presented on the front end.

Screenshot 2024-04-03 at 1.20.16 AM.png

Flow of the whole Depression Detection Project

Technological Stack

  • Flask

  • HTML

  • CSS

  • JavaScript

  • React

  • Angular Framework

  • SQL commands

Screenshot 2024-04-03 at 1.26.01 AM.png

Flow Charts 
and
Data Flow Diagrams

Flow of the project on both the frontend and backend side

Concepts

Results

Adding a profile picture to personal details

Patients Upload Dashboard

Screenshot 2024-04-03 at 2.30.14 PM.png

Functionalities added:

  • Number of upload files

  • Search box for uploaded files

  • Date of uploaded files

  • Progress bars

Schedule Appointments

Screenshot 2024-04-03 at 2.30.27 PM.png

Patient & Doctor Book Appointment Page

 

Three tasks were performed on the patient and doctor book appointment page:

  • Added the search bar functionality so doctors could search a patient using the patient’s email ID.

  • Added the Sort by User interface so that users can be sorted on the basis of 3 months, 6 months, 1 year, and 2 years. 

  • Also, added the choose patient area for the doctor using the list component in react.js.

On the Book an Appointment page, using the CSS property many functionalities include:

  • Changed the border color of the selected boxes and un-selected boxes on click by the doctor.

  • Added the “Continue” button functionality or changed the Continue button's color in react.js using array and use state.

  • Integrated the API: The data is fetched from this API and integrated into fields like Name of the patient, Location, Last appointment with the doctor, and About the patient.

 

Appointment Dashboard

In this task, the frontend team made dashboard screens for doctors and patients.

Appointment dashboard for doctors

  • Timeline of today’s appointments

  • Tabs for filtering out the appointments :

    • All the appointments

    • Appointment invites sent by the doctor

    • Appointment request sent by the patient

    • All the Done appointments

  • Different card designs for :

    • Completed Appointments

    • Missed Appointments

    • Invites Sent Appointments

    • Requests Sent Appointments

    • Response Pending Appointments

    • Rejected Appointments

 

  • Count of scheduled appointments

  • Tabs for filtering out the appointments:

    • Upcoming appointments

    • Missed appointments

    • Done appointments

 

  • Attendance Chart made using chart.js

 

Personal Details Page

  • Users can enter, edit, and update their data 

  • Takes into account different physiological parameters.

  • Creates a profile using the user’s personal information.

 

To-do list

 

  • Allows users to list out all the tasks.

 

  • Plan their day.

 

  • Alarms and notifications remind the user about tasks.

 

  • Links to the task chart to visualize data.

 

Task Chart

 

  • The bar graph indicates the number of tasks completed.

 

  • Helps visualize and graph out the Depression Detection data.

 

  • Gives a pictorial view of the user’s schedule.

 

  • Helps to understand the user in a detailed way

 

Chatbot

 

  • Chat helps streamline tasks and activities.

 

  • Manage a stable connection between the application and the patient.

 

  • Connects with the user and helps with completion of the tasks

Summary

By creating such an interface, we were able to provide our users with a platform on which they could express their desires openly without any kind of repercussions. This platform provides voices to those individuals who would much rather stay quiet and bear the pain of it all. 

 

We believe that the creation of such new methods to recognise at-risk people, could help in allowing those who are depressed to be identified and treated as soon as feasible in order to alleviate them of any further trouble and pain that Depression might otherwise cause them.

To conclude, a fully automated system was created that aids medical professionals in their efforts to investigate behavioral abnormalities brought on by depression. This end-to-end system is being created as both a web application and a mobile application because it is anticipated that practically all types of users would be able to use it. 


 

View the live project here: Mental depression – Sabudh


 

Thank you

 

Find me

  • Instagram 

  • Youtube

bottom of page