Skip to content

tanii69/Depression-Detection-System

Repository files navigation

Depression Detection System

Overview

The Depression Detection System is a web-based mental health assessment platform developed using Django. The system helps users assess their mental well-being through AI-based depression prediction, emotion tracking, chatbot support, analytics dashboards, and report generation.

Features

User Features

  • User Registration and Login
  • Depression Assessment Quiz
  • Depression Prediction Results
  • Result History Tracking
  • Mood Analytics Dashboard
  • AI Chatbot Support
  • PDF Report Download
  • Emotion Detection Module
  • Personal Mental Health Statistics

Admin Features

  • Admin Dashboard
  • User Management
  • Depression Analytics
  • Emotion Analytics
  • User Assessment Monitoring
  • System Statistics

Technology Stack

Frontend

  • HTML5
  • CSS3
  • Bootstrap 5
  • JavaScript
  • Chart.js

Backend

  • Python
  • Django

Database

  • SQLite

Libraries Used

  • Django
  • ReportLab
  • OpenCV
  • Chart.js
  • Bootstrap

Project Structure

depression_project/

├── accounts/

├── chatbot/

├── emotion/

├── quiz/

├── templates/

├── static/

├── db.sqlite3

├── manage.py

└── requirements.txt

Installation

Clone Repository

git clone https://github.com/your-username/depression-detection-system.git

cd depression_project

Create Virtual Environment

python -m venv venv

Activate Virtual Environment

Windows:

venv\Scripts\activate

Linux/Mac:

source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

Run Migrations

python manage.py migrate

Create Superuser

python manage.py createsuperuser

Run Server

python manage.py runserver

Open:

http://127.0.0.1:8000/

Usage

User Workflow

  1. Register an account
  2. Login
  3. Take Depression Assessment Quiz
  4. View Prediction Result
  5. Track Previous Assessments
  6. View Mood Analytics
  7. Download PDF Reports
  8. Use AI Chatbot Support

Admin Workflow

  1. Login as Admin
  2. Open Admin Dashboard
  3. Monitor Users
  4. Analyze Depression Statistics
  5. View Emotion Analytics

Future Enhancements

  • Appointment Booking System
  • Doctor Recommendation System
  • Email Alerts for Severe Depression
  • Real-Time Emotion Detection
  • Machine Learning Model Improvements
  • Cloud Deployment
  • Mobile Application

Deployment

This project can be deployed on:

  • Render
  • PythonAnywhere
  • Railway
  • AWS
  • Azure

Screenshots

Login page

image

User Dashboard

image

Author

Tanisha Singh

License

This project is developed for educational and academic purposes.

About

AI-powered Depression Detection System built with Django, Emotion Analysis, Mood Analytics, Chatbot Support, PDF Reports, and Mental Health Assessment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors