![](https://user-images.githubusercontent.com/116336229/230703545-d95d7bfa-eb24-48ab-ad22-598a41b80597.png)
DeepSense is an Android application that utilizes two machine learning models to analyze system-wide typed text to accurately determine the user's emotional state. The app uses an accessibility service to capture text input across the system, enabling it to provide insights into the user's mood and mental state in real-time and to notify an emergency contact if it detects the user is at risk of suicide.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
-
Text capture: Capture typed text in popular chat apps (WhatsApp, Telegram, Signal, Slack) and web browsers (Firefox, Chrome, Bromite) to analyze the user's mood and mental health.
-
Mood detection: Use machine learning models to identify the user's mood based on the typed text.
-
Mood analysis: Calculate the average mood percentages, mood status, and all emotions in a typed text to provide a comprehensive analysis.
-
Mental health assessment: Based on the predicted results, determine the user's current mental health condition and provide recommendations for improvement.
-
Emergency response: If suicidal text patterns are detected, the app will send an emergency SMS to the saved emergency contact, providing immediate support and assistance.
-
User authentication: Seamless authentication using One Tap Google Log in and Firebase to provide a secure and personalized experience for the user.
-
Material 3: App uses the latest material design system from Google, offering a modern and intuitive user interface that enhances usability and user experience.
-
Setup the local backend server: https://github.com/chamajay/deepsense-backend
-
Clone the repository:
git clone https://github.com/chamajay/deepsense.git
-
Change the
BASE_URL
constant insideConstants.kt
file to include the local server address. -
Build the application from source:
./gradlew assembleDebug
-
Install and run the application.
- Chamath Jayasena (@chamajay)
- Kumudu Wijewardhana (@kumuduwije)
- Sahan Dissanayake (@sahandissanayake)
- Thimasha Thakshali (@ThimashaThakshali)
- Ruwindi Perera (@RuwindiPerera)