<<<<<<< HEAD
A Flask-based web application that provides mental health support through various features including emotion detection, chat support, and mental health analysis.
- User Authentication (Login/Register)
- Emotion Detection using OpenCV
- Chat Support with Gemini AI
- Mental Health Analysis
- PDF Report Generation
- Email Notifications
- Open and Close-ended Questionnaires
- Python 3.9+
- pip (Python package manager)
- Git
- Clone the repository:
git clone https://github.com/hxrshexe/WeCare.git
cd WeCare- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile with your environment variables:
SECRET_KEY=your-secret-key
API_KEY=your-gemini-api-key
MAIL_PASSWORD=your-mail-password
- Initialize the database:
flask db init
flask db migrate
flask db upgrade- Activate the virtual environment:
source venv/bin/activate # On Windows: venv\Scripts\activate- Run the application:
python app.py- Open your browser and navigate to
http://localhost:5000
WeCare/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── static/ # Static files (CSS, JS, images)
│ ├── uploads/ # User uploads
│ └── reports/ # Generated reports
├── templates/ # HTML templates
├── dataset/ # Training data
└── responses/ # User responses
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Flask Framework
- OpenCV for face detection
- Google Gemini AI for chat support
- FPDF for PDF generation =======
068220559657ac5777f213f0470920ca3f60c5ed