{"id":26354652,"url":"https://github.com/devfreaked/bubble-thought-app","last_synced_at":"2025-07-04T22:34:16.144Z","repository":{"id":282104735,"uuid":"947242768","full_name":"DevFreAkeD/bubble-thought-app","owner":"DevFreAkeD","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-12T19:56:44.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T20:32:54.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/DevFreAkeD.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}},"created_at":"2025-03-12T11:31:59.000Z","updated_at":"2025-03-12T19:56:47.000Z","dependencies_parsed_at":"2025-03-12T20:43:52.132Z","dependency_job_id":null,"html_url":"https://github.com/DevFreAkeD/bubble-thought-app","commit_stats":null,"previous_names":["devfreaked/bubble-thought-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DevFreAkeD/bubble-thought-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Fbubble-thought-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Fbubble-thought-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Fbubble-thought-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Fbubble-thought-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevFreAkeD","download_url":"https://codeload.github.com/DevFreAkeD/bubble-thought-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Fbubble-thought-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263628136,"owners_count":23490918,"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":[],"created_at":"2025-03-16T12:18:26.573Z","updated_at":"2025-07-04T22:34:16.126Z","avatar_url":"https://github.com/DevFreAkeD.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎭 Real-Time Thought Bubble App\n\nA real-time facial recognition app that generates persistent thought bubbles above detected faces using **TensorFlow.js (BlazeFace)** and **React with Next.js**.\n\n## 🚀 Features\n- 🧠 **Face Tracking**: Detects multiple faces simultaneously.\n- 💬 **Persistent Thought Bubbles**: Thoughts stay fixed to each person.\n- 🎥 **Smooth Movement**: Uses interpolation for stable tracking.\n- 🔄 **Handles Rotations**: Faces retain thoughts even when turned.\n- 🌍 **Fully Browser-Based**: Runs with TensorFlow.js, no external backend needed.\n\n## 🛠️ Tech Stack\n- **Frontend**: React, Next.js\n- **State Management**: useState, useRef\n- **AI/ML**: TensorFlow.js (BlazeFace Model)\n- **Webcam Integration**: react-webcam\n\n## 📦 Installation\n```sh\n# Clone the repository\ngit clone https://github.com/DevFreAkeD/bubble-thought-app.git\ncd thought-bubble-app\n\n# Install dependencies\nyarn install  # or npm install\n\n# Start the development server\nyarn dev  # or npm run dev\n```\n\n## 📸 How It Works\n1. **Start the App** → Your webcam starts streaming.\n2. **Face Detection** → BlazeFace detects faces in real time.\n3. **Thought Assignment** → Each face gets a unique, persistent thought bubble.\n4. **Smooth Tracking** → Thoughts stay fixed even when moving or rotating.\n5. **Multiple Faces Supported** → Up to 10 faces tracked simultaneously.\n\n## 🎯 Usage\n- Open the app in your browser.\n- Allow webcam access when prompted.\n- Move around, rotate your head – your thought bubble stays consistent!\n\n## 🐞 Troubleshooting\n**Issue: Thought bubbles disappear or flicker?**  \n🔹 Make sure there is **good lighting** for face detection.  \n🔹 Avoid **low-resolution webcams** which may affect detection accuracy.\n\n**Issue: Bubbles shrink on one side?**  \n🔹 The app now normalizes bubble size – try increasing the `baseFaceSize` value in `CameraFeed.tsx`.\n\n## 📜 License\nThis project is licensed under the MIT License.\n\n## 🤝 Contributing\nPull requests are welcome! Open an issue for bug reports or feature requests.\n\n---\n\n🔥 **Enjoy watching your thoughts float above your head in real-time!** 😆\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevfreaked%2Fbubble-thought-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevfreaked%2Fbubble-thought-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevfreaked%2Fbubble-thought-app/lists"}