/Vyavahaar

A web app using FastAPI to help to diagnose the mental health of a person. It helps to quantify the mental health among three parameters: stress, anxiety and depression, with the help of a specially designed questionnaire containing questions related to the defined parameters. Emotion detection is implemented to get an overview of the person's emotions in real time.

Primary LanguageHTML

WebApp

A web app using FastAPI to help to diagnose the mental health of a person. It helps to quantify the mental health among three parameters: stress, anxiety and depression, with the help of a specially designed questionnaire containing questions related to the defined parameters. Emotion detection is implemented to get an overview of the person's emotions in real time.

A user will first have to register on the website after which they will be eligible for taking the questionnaire and emotional detection functionalities. A vent out wall is implemented on the website on which any person can share their thoughts and experiences with the community, anonymously. On the basis of the scores taken from the questionnaire the mental state of the person will be approximated. The results do not guarantee anything, and it is easy to generate fake report, therefore we are relying on the user to answer the questionnaire punctually.

A user will be classified as one of the following categories:
  • Self help, in this case, it will be known that user is not going through serious mental stress therefore, the user will be suggested few blogs and videos to cheer up.
  • Needs counselling, in this case, it is felt that the user is holding in a lot of thoughts which are leading to mental stress and anxiety, the user will therefore be brought in contact with our counselors, who can contact the user through texts or if user agrees to, through calls.
  • Therapy, in this case, it is found that the user is going through serious mental problems, and it is suggested that he/she should seek professional help. The user will be brought in contact with professionals through the counselors.

Installation Guide:

  1. python3 -m venv venv . Then activate your virtual environment(OS specific). (If you don't have venv, install it) [optional]
  2. python3 -m pip install -r requirements.txt
  3. uvicorn main:app --reload

Site Screenshots

Landing page

It will contain an overview of all the funcitonalities. image

Login page

image

Questionnaire

image

Vent out

This will show our community interaction. image

Built With

  • FastAPI - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
  • jQuery - Ajax - jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
  • Tensorflow - TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications.
  • OpenCV - OpenCV provides a real-time optimized Computer Vision library, tools, and hardware.
  • Uvicorn - Uvicorn is a lightning-fast ASGI server implementation, using uvloop and httptools.
  • Bootstrap - Extensive list of components and Bundled Javascript plugins.