BioAlert
Real-Time Wellness, One Alert at a Time
The problem BioAlert solves
Stress and mental fatigue often go unnoticed and unaddressed. There’s a lack of real-time, accessible tools for early detection and self-care. The consequences of ignoring these can be serious:
Academic Decline: Reduced concentration, lower grades, and student burnout.
Workplace Burnout: Lower productivity, absenteeism, and long-term mental health issues.
Road Accidents: Fatigued drivers face slower reaction times and poor judgment.
Health Risks During Exercise: Overexertion while working out can cause injuries or heart strain.
Decline in General Wellbeing: Chronic stress impacts sleep, immunity, and emotional imbalance.
What BioAlert Does
BioAlert monitors biosignals to detect stress using ML model, provides support through a chatbot, and connects users to nearby helplines—encouraging early awareness and care.
Key Features
- Real-time stress and mental fatigue detection and monitoring (91% accuracy using MEFAR dataset)
- AI-powered wellness chatbot
- Location-based nearby helpline access
- Relaxation space with music, calming videos and images
- Guided meditation space
- Secure login and authentication via Firebase
Challenges we ran into
Deployment Conflicts:
Since multiple team members contributed, requirements.txt had inconsistent dependencies across environments, causing version mismatches and build issues during deployment.
Pyrebase Configuration:
Firebase authentication doesn't need databaseURL, but Pyrebase expects it. Missing it caused unexpected initialization errors.
External API Integration:
Integrating the Gemini API had hurdles like model versioning issues (404 model not found errors), which required updates in API calls and dependencies.
Cross-Platform Development:
Some work was done on Windows and some in WSL/Linux, leading to subtle environment conflicts (like pip install restrictions and permissions).
Class Imbalance: To ensure balanced learning, we selected 3000 samples from each class, avoiding bias in model training.
Data Ordering Bias: The dataset might have had patterns due to ordering. We shuffled it using a fixed random_state for consistent, unbiased training runs.
Stratified Splitting: We used stratified train-test split to maintain equal class distribution in both training and testing sets.
Feature Scaling: Since features had varying scales, we applied StandardScaler for normalization to ensure fair contribution from all features.
Dataset Selection: Finding a suitable dataset with physiological signals (EEG, EDA, BVP, etc.) and clear mental fatigue labels required deep research across papers and Kaggle notebooks.
Tracks Applied (1)
