{"id":30815070,"url":"https://github.com/priyavkaneria/hidden-motion","last_synced_at":"2025-09-06T08:07:49.428Z","repository":{"id":307669889,"uuid":"1029687129","full_name":"PriyavKaneria/Hidden-Motion","owner":"PriyavKaneria","description":"website to view hidden motion of the world in a fun way","archived":false,"fork":false,"pushed_at":"2025-08-01T13:27:45.000Z","size":959,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T14:44:22.019Z","etag":null,"topics":["hidden","image-processing","motion"],"latest_commit_sha":null,"homepage":"https://hiddenmotion.priyavkaneria.com/","language":"HTML","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/PriyavKaneria.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-07-31T12:20:05.000Z","updated_at":"2025-08-01T14:09:04.000Z","dependencies_parsed_at":"2025-08-01T14:44:23.284Z","dependency_job_id":"3bf6367d-4631-40a4-8560-6a3e856609cc","html_url":"https://github.com/PriyavKaneria/Hidden-Motion","commit_stats":null,"previous_names":["priyavkaneria/hidden-motion"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/PriyavKaneria/Hidden-Motion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyavKaneria%2FHidden-Motion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyavKaneria%2FHidden-Motion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyavKaneria%2FHidden-Motion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyavKaneria%2FHidden-Motion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PriyavKaneria","download_url":"https://codeload.github.com/PriyavKaneria/Hidden-Motion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PriyavKaneria%2FHidden-Motion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273874160,"owners_count":25183368,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["hidden","image-processing","motion"],"created_at":"2025-09-06T08:04:16.458Z","updated_at":"2025-09-06T08:07:49.419Z","avatar_url":"https://github.com/PriyavKaneria.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hidden Motion Detection\n\nA real-time web application that reveals invisible motion using frame difference analysis. Built with vanilla JavaScript and HTML5 Canvas, this tool makes subtle movements visible to the human eye.\n\n![Hidden Motion Demo](https://img.shields.io/badge/Status-Live-brightgreen) ![JavaScript](https://img.shields.io/badge/JavaScript-ES6+-yellow) ![HTML5](https://img.shields.io/badge/HTML5-Canvas-orange)\n\n## 🚀 Live Demo\n\n[**Try Hidden Motion Detection**](https://hiddenmotion.priyavkaneria.com)\n\n## 🔬 Real-World Applications\n\nFrame difference analysis is a powerful technique used across multiple industries:\n\n### 🏭 **Industrial \u0026 Manufacturing**\n- **Gas Leak Detection** - Invisible gas escapes become visible through air density changes\n- **Heat Loss Identification** - Thermal inefficiencies in buildings and equipment\n- **Vibration Analysis** - Detecting mechanical wear in rotating machinery\n- **Quality Control** - Spotting defects in manufacturing processes\n\n### 🔬 **Scientific Research**\n- **Fluid Dynamics** - Visualizing air currents and turbulence patterns\n- **Structural Engineering** - Monitoring building sway and bridge oscillations\n- **Medical Imaging** - Detecting subtle tissue movements and blood flow\n- **Seismic Analysis** - Early detection of ground movement\n\n### 🏠 **Security \u0026 Monitoring**\n- **Perimeter Security** - Detecting intrusions in low-light conditions\n- **Wildlife Monitoring** - Tracking animal movement without disturbance\n- **Traffic Analysis** - Understanding pedestrian and vehicle flow patterns\n- **Home Automation** - Motion-triggered systems with high sensitivity\n\n### 🎯 **Environmental Monitoring**\n- **Air Quality Assessment** - Visualizing pollution and particulate movement\n- **Water Flow Analysis** - Detecting leaks in pipes and water systems\n- **Weather Pattern Studies** - Analyzing micro-climates and wind patterns\n\n## 📚 Educational Resources\n\nLearn more about motion detection and computer vision:\n\n- [**The Power of Frame Differencing**](https://www.youtube.com/watch?v=zFiubdrJqqI) - Comprehensive overview of frame difference techniques\n- [**Advanced Motion Detection Methods**](https://www.youtube.com/watch?v=rEoc0YoALt0) - Professional applications and algorithms\n\n## 🌟 Features\n\n- **Real-time Motion Detection** - Processes camera feed at maximum frame rate\n- **Customizable Frame Difference** - Choose between 2-frame or 3-frame difference analysis\n- **Smooth Motion Trails** - Beautiful sea-green curved paths showing object movement history\n- **Velocity Indicators** - Real-time speed and direction vectors with position display\n- **Rainbow Mode** - Cycling HSV colors for enhanced motion visualization\n- **Space Background** - Animated starfield with rotating nebula effects\n- **Fullscreen Support** - Immersive detection experience\n- **Responsive Controls** - Collapsible settings panel with real-time adjustments\n\n## 🛠️ How It Works\n\nThe application uses **temporal differencing** to detect motion:\n\n1. **Frame Capture** - Continuously captures video frames from your camera\n2. **Grayscale Conversion** - Converts color frames to grayscale for processing efficiency\n3. **Frame Comparison** - Compares current frame with previous frame(s) pixel by pixel\n4. **Threshold Application** - Filters out noise using configurable sensitivity thresholds\n5. **Region Detection** - Groups adjacent motion pixels into coherent objects\n6. **Velocity Calculation** - Tracks object centers to compute speed and direction\n7. **Trail Generation** - Creates smooth curved paths showing movement history\n\n## 🔧 Technical Details\n\n- **Language**: Vanilla JavaScript (ES6+)\n- **Rendering**: HTML5 Canvas API\n- **Video**: WebRTC getUserMedia API\n- **Graphics**: SVG for smooth trail rendering\n- **Performance**: Optimized flood-fill algorithm for region detection\n- **Browser Support**: Modern browsers with camera access\n\n## 🎨 Customization\n\nThe application supports extensive customization:\n\n- **Sensitivity Thresholds** - Adjust motion detection sensitivity\n- **Color Schemes** - Custom colors for motion and static areas\n- **Trail Behavior** - Modify trail length and fade patterns\n- **Velocity Smoothing** - Configure motion smoothing algorithms\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to:\n\n- 🐛 Report bugs and issues\n- 💡 Suggest new features\n- 🔧 Submit pull requests\n- 📚 Improve documentation\n\n## 📄 License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## 👨‍💻 Created By\n\n**Priyav Kaneria** ([@_diginova](https://x.com/_diginova))\n\nOne of [many experiments](https://projects.priyavkaneria.com) • Made with ❤️\n\n---\n\n*Hidden Motion Detection - Making the invisible visible through the power of computer vision*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyavkaneria%2Fhidden-motion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriyavkaneria%2Fhidden-motion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyavkaneria%2Fhidden-motion/lists"}