HealthMate - AI & ML-Based Healthcare Web App
Web App Demo: [https://healthmate-pkumar.streamlit.app/]
Table of Contents 📚
- Project Overview
- Features
- Project Setup
- Datasets Used
- Tools & Technologies Implemented
- Code Structure
- Execution Instructions
- Future Scope
- Contributing
Project Overview 🏥
HealthMate is an AI & ML-based healthcare web application designed to provide:
- Personalized Health Plans (Diet, Fitness, Hydration, Nutrition)
- Doctor & Hospital Assistance (Find & consult with doctors and hospitals)
- Government Health Scheme Eligibility Checker
- Women’s Health Companion (Pregnancy Tracker, Menstrual Health Tracker)
- Disease Predictions using advanced AI models The platform is accessible via a web-based interface, making healthcare services more accessible and efficient. 🌍
Features ✨
Health & Wellness Plans 💪
- Diet Plan: AI-driven diet recommendations. 🍎
- Fitness Plan: Personalized workout plans. 🏋️♂️
- Hydration Plan: Water intake tracking. 💧
- Nutrition Plan: Balanced meal suggestions. 🥗
Medical Assistance 🩺
- Find doctors & hospitals in your city 🏥
- Book consultations and appointments 📅
- Doctor profiles, ratings, and specialties ⭐
Government Scheme Eligibility Checker 🏛️
- OCR Support: Scans ration/ID cards for quick user verification. 🪪
- Real-Time Eligibility Check: Verifies eligibility for PM-JAY and other government health schemes. ✅
Women’s Health Companion 👩⚕️
- Pregnancy Stage Predictor: Estimates pregnancy stage. 🤰
- Menstrual Cycle Tracker: Monitors cycles and fertility. 📆
- Maternal Nutrition Guide: Suggests stage-specific diets. 🍼
Disease Prediction Models 💡
- Diabetes Prediction (Medical report analysis) 🍬
- Heart Attack Prediction (Medical history & lifestyle analysis) ❤️
- Lung Cancer Prediction (AI-based image recognition) 🫁
- Asthma Prediction (Breath sound analysis using Deep Learning) 🌬️
- Heartbeat Irregularities Prediction (Heart sound analysis) ❤️🩹
Project Setup ⚙️
Prerequisites 🧑💻
- Ensure you have the following installed:
- Python 3.8+ 🐍
- pip 📦
- Virtual Environment (optional) 🌱
- Ensure you have the following installed:
Clone the Repository 🔁 git clone https://github.com/yourusername/HealthMate.git cd HealthMate
Create Virtual Environment (Optional but Recommended) 🛠️ python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts ctivate # On Windows
Install Dependencies ⚡ pip install -r requirements.txt
Datasets Used 📊
- Medical Reports Dataset: Used for diabetes, heart attack, and lung cancer predictions. 💉
- Audio Dataset: Used for breath sound and heart sound analysis. 🎧
- Health & Nutrition Data: Used for generating diet and fitness plans. 🍽️
- Doctor & Hospital Data: Integrated with Google Maps API for location-based search. 🌍
- Women’s Health Data: Used for pregnancy and menstrual health tracking. 🤰📆
- Government Schemes Data: Provides information on health schemes and eligibility. 🏛️
Tools & Technologies Implemented 🛠️
Backend 🔌
- Python 🐍
- Flask 🖥️
- Firebase (Database for user data & medical records) 🔒
- PostgreSQL (User data storage) 🗃️
Machine Learning & AI Models 🤖
- ML Algorithms: Random Forest, XGBoost, SVM 🌳
- Deep Learning: CNN, LSTM for sound-based analysis 🧠
- Data Processing: Pandas, NumPy, Scikit-Learn, TensorFlow, Keras 📊
Frontend & Deployment 🌐
- Streamlit (Web App UI/UX) 🌟
- HTML/CSS (For additional UI customization) 🎨
- APIs: Google Maps API, OpenAI API 📍
- Deployment Platforms: Streamlit Cloud, GCP ☁️
Code Structure 🗂️
HealthMate/ │── models/ # Machine Learning & Deep Learning models 🧑💻 │── static/ # Static files (CSS, Images, JS) 🖼️ │── templates/ # HTML templates for Streamlit 📝 │── datasets/ # Contains training datasets 📂 │── main.py # Main application entry point 💻 │── requirements.txt # Required dependencies 📦 │── README.md # Project documentation 📘
Execution Instructions 🏃♂️
Run the Web App Locally 💻 streamlit run main.py
Run on Google Cloud / Streamlit Cloud ☁️ Deploy the app on Streamlit Cloud following the official documentation. Configure Google Cloud App Engine for large-scale deployment.
Future Scope 🔮
- Integration with Wearable Devices (Smartwatches for real-time health tracking) ⌚
- Blockchain-based Medical Data Security (For secure patient records) 🔐
- AI Voice Assistant for Health Queries 🎙️
- More Disease Predictions (Kidney Disease, Obesity, Mental Health Analysis) 🧠
Contributing 🤝
- Fork the repository 🍴
- Create a new branch (git checkout -b feature-branch) 🌱
- Commit changes (git commit -m 'Added new feature') 📝
- Push the branch (git push origin feature-branch) 🚀
- Submit a Pull Request 🔄
Built With
- css
- firebase
- flask
- google-maps
- groq
- keras
- openai-api
- postgresql
- python
- scikit-learn
- streamlit
- streamlit-cloud
- tensorflow
Log in or sign up for Devpost to join the conversation.