{"id":27302219,"url":"https://github.com/anis196/sowell_personal_therapist","last_synced_at":"2026-04-10T06:54:44.869Z","repository":{"id":287435898,"uuid":"964670553","full_name":"Anis196/SoWell_Personal_Therapist","owner":"Anis196","description":"SoWell uses computer vision libraries (OpenCV and MTCNN) and deep learning (DeepFace) to detect and analyze facial expressions in real-time. The detected emotion influences the AI therapist's tone, built using LangChain with Google's Gemini model. The user interface, styled with Bootstrap and custom CSS, (1k+ lines!)","archived":false,"fork":false,"pushed_at":"2025-04-11T18:17:27.000Z","size":30076,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:15:23.011Z","etag":null,"topics":["bootstrap","css","custom-css","dockerfile","html","javascript","mtcnn-face-detection","opencv","python","tensorflow-gpu"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anis196.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T15:36:38.000Z","updated_at":"2025-04-11T18:17:30.000Z","dependencies_parsed_at":"2025-04-11T18:51:35.079Z","dependency_job_id":null,"html_url":"https://github.com/Anis196/SoWell_Personal_Therapist","commit_stats":null,"previous_names":["anis196/sowell_personal_therapist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anis196%2FSoWell_Personal_Therapist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anis196%2FSoWell_Personal_Therapist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anis196%2FSoWell_Personal_Therapist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anis196%2FSoWell_Personal_Therapist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anis196","download_url":"https://codeload.github.com/Anis196/SoWell_Personal_Therapist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505924,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","css","custom-css","dockerfile","html","javascript","mtcnn-face-detection","opencv","python","tensorflow-gpu"],"created_at":"2025-04-12T02:15:30.626Z","updated_at":"2025-12-30T21:38:35.320Z","avatar_url":"https://github.com/Anis196.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SoWell - Your Friendly Anonymous Therapist\n\nWelcome to **SoWell**, a web-based application that serves as your personal, anonymous virtual therapist. This project integrates real-time face and emotion detection using a webcam with a conversational AI powered by Google Generative AI. The interface features a dynamic cityscape animation built with HTML, CSS, and Flask.\n\n## Screenshots\n![App Preview](static/css/screenshot.png)\n\n\n---\n\n## Table of Contents\n- [Description](#description)\n- [Features](#features)\n- [Installation](#installation)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n---\n\n## Description\n\nSoWell uses computer vision libraries (OpenCV and MTCNN) and deep learning (DeepFace) to detect and analyze facial expressions in real-time. The detected emotion influences the AI therapist's tone, built using LangChain with Google's Gemini model. The user interface, styled with Bootstrap and custom CSS, includes a cityscape background with animated elements and a chat interface.\n\n---\n\n## Features\n\n- 🎭 **Real-Time Emotion Detection**: Analyzes facial expressions via webcam and classifies emotions (happy, sad, angry, fear, disgust, neutral, surprise).\n- 💬 **Emotion-Adaptive AI**: Adjusts the therapist's tone based on detected emotions for a personalized experience.\n- 🌆 **Dynamic Cityscape**: Animated background with trees, towers, clouds, and street elements.\n- 📱 **Responsive Design**: Full-width layout adaptable to different screen sizes.\n- 💻 **Chat Interface**: Interactive chat with the AI therapist using Flask and jQuery.\n- 🕶️ **Anonymous Support**: Provides a safe, anonymous environment for users.\n\n---\n\n## Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/your-username/sowell-therapist.git\nReplace your-username and sowell-therapist with your GitHub username and repository name.\n\n2. ***Navigate to the project directory:***\n\n   ```bash\n   cd sowell-therapist\n\n3. ***Install dependencies:***\n   ```bash\n   pip install -r requirements.txt\n\n4. ***Set up your Google API key:***\n   - Create a .env file in the root directory.\n   - Add your API key like this:\n\n   ```bash\n   GOOGLE_API_KEY=your_api_key_here\n   #Ensure .env is listed in .gitignore to keep it secure.\n\n4. ***Run the application:***\n   ```bash\n   python together.py\n- Open your browser and go to:\n   ```bash\n   http://127.0.0.1:5000/\n   \n- Allow webcam access for real-time emotion detection.\n\n - Use the chat interface (left side) to interact with SoWell. Type a message and click \"Send\".\n\n - The right side shows the live video feed with emotion labels and a greeting.\n\n## Contributing\nContributions are welcome! Follow these steps:\n\n### Fork the repository.\n\n1. Create a new branch:\n   ```bash\n   git checkout -b feature-branch\n\n2. Make your changes and commit:\n   ```bash\n   git commit -m \"Add new feature\"\n   \n3. Push to your fork:\n   ```bash\n   git push origin feature-branch\n   \n4. Open a pull request describing your changes.\n\n      - Please follow the existing code style and add clear comments where necessary.\n\n## License:\n This project is licensed under the MIT License.\n See the LICENSE file for details.\n\n## Contact:\n For questions, suggestions, or to report an issue:\n - Email: shaikhanis2004@gmail.com\n - GitHub: https://github.com/anis196\n - Author: Anis Shaikh\n - Last updated: April 11, 2025\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanis196%2Fsowell_personal_therapist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanis196%2Fsowell_personal_therapist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanis196%2Fsowell_personal_therapist/lists"}