{"id":19946626,"url":"https://github.com/jacobpclouse/hackrpi24-adaptive-threat-security-system","last_synced_at":"2026-02-04T17:02:43.522Z","repository":{"id":261976543,"uuid":"885874587","full_name":"jacobpclouse/HackRPI24-Adaptive-Threat-Security-System","owner":"jacobpclouse","description":"Crime Catcher - An online surveillance system where a central server receives camera feeds from remote clients and uses AI to determine if weapons or dangerous objects are in frame.","archived":false,"fork":false,"pushed_at":"2024-12-08T04:31:28.000Z","size":37534,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T01:40:46.871Z","etag":null,"topics":["flask","flask-api","gpu-acceleration","hackrpi2024","kaggle","opencv","quasar","sqlite","tkinter","tkinter-gui","vue","yolo"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jacobpclouse.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":"2024-11-09T16:12:19.000Z","updated_at":"2024-12-12T13:28:31.000Z","dependencies_parsed_at":"2024-11-09T17:27:06.913Z","dependency_job_id":"fcb3bbde-7d02-454e-bfc4-2433c4d2d162","html_url":"https://github.com/jacobpclouse/HackRPI24-Adaptive-Threat-Security-System","commit_stats":null,"previous_names":["jacobpclouse/hackrpi24-adaptive-threat-security-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jacobpclouse/HackRPI24-Adaptive-Threat-Security-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobpclouse%2FHackRPI24-Adaptive-Threat-Security-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobpclouse%2FHackRPI24-Adaptive-Threat-Security-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobpclouse%2FHackRPI24-Adaptive-Threat-Security-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobpclouse%2FHackRPI24-Adaptive-Threat-Security-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobpclouse","download_url":"https://codeload.github.com/jacobpclouse/HackRPI24-Adaptive-Threat-Security-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobpclouse%2FHackRPI24-Adaptive-Threat-Security-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29091317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flask","flask-api","gpu-acceleration","hackrpi2024","kaggle","opencv","quasar","sqlite","tkinter","tkinter-gui","vue","yolo"],"created_at":"2024-11-13T00:31:24.737Z","updated_at":"2026-02-04T17:02:43.488Z","avatar_url":"https://github.com/jacobpclouse.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crime Catcher \u003cimg src=\"Part 2 - Dashboard Backend/Frontend_Quasar/frontend-webdashboard/public/eye_white.svg\" alt=\"Crime Catcher\" style=\"height: 1em;\"\u003e \n\u003e Safety Through Vigilance!\n#### Video Demo \u003ca href=\"https://www.youtube.com/watch?v=Dg4kLstHK8E\"\u003e\u003ci\u003ehere!\u003c/i\u003e\u003c/a\u003e\n#### REPO: HackRPI24-Adaptive-Threat-Security-System - Submitted \u003ca href=\"https://devpost.com/software/crime-catcher\"\u003evia Devpost\u003c/a\u003e to HackRPI 2024 Urban Upgrades \n[![GitHub contributors](https://img.shields.io/github/contributors/jacobpclouse/HackRPI24-Adaptive-Threat-Security-System.svg)](\"https://github.com/jacobpclouse/HackRPI24-Adaptive-Threat-Security-System/graphs/contributors\") \u003cimg src=\"https://img.shields.io/badge/HackRPI%202024-Urban%20Upgrades-red\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Technologies-openCV%20Tkinter%20flask%20Quasar%20Vuejs%20sqlite%20yolo%20kaggle-blue\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Crime-Catcher-purple.svg?logo=data:image/svg%2bxml;base64,IDxzdmcgIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgd2lkdGg9IjMwMC4wMDAwMDBwdCIgaGVpZ2h0PSIyMDUuMDAwMDAwcHQiIHZpZXdCb3g9IjAgMCAzMDAuMDAwMDAwIDIwNS4wMDAwMDAiICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ij4gIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuMDAwMDAwLDIwNS4wMDAwMDApIHNjYWxlKDAuMTAwMDAwLC0wLjEwMDAwMCkiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0ibm9uZSI+IDxwYXRoIGQ9Ik0xNDgwIDIwMDYgYzAgLTIgLTI1IC0xMDIgLTU2IC0yMjIgLTgwIC0zMTMgLTgzIC0zMjcgLTg0IC0zNTEgMCAtMjMgMSAtMjMgMTUwIC0yMyAxMjggMC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MjcgLTQwIGMxMDQgLTU0IDIxMSAtMTExIDIzOCAtMTI5IDQ1IC0yOSAxMzMgLTg2IDM1NCAtMjMwIGw3NSAtNDggLTMzIC0yNSBjLTkyIC03MSAtMzA1IC0xOTYgLTU1MSAtMzIyIGwtMjc0IC0xNDIgLTY4IDMzIGMtMzcgMTggLTY4IDM1IC02OCAzOSAwIDMgODggOTMgMTk1IDIwMCAxMDcgMTA3IDE5NSAxOTkgMTk1IDIwNSAwIDUgLTkxIDEwMSAtMjAyIDIxMiBsLTIwMyAyMDMgLTIwNyAtMjA3IC0yMDggLTIwOCAxODggLTE4OSBjMTAzIC0xMDMgMTgzIC0xODcgMTc3IC0xODUgLTU1IDIwIC00MzIgMjIzIC01MDggMjc0IC01NCAzNiAtMTAyIDY1IC0xMDUgNjUgLTQgMSAtMjAgMTEgLTM2IDI0IGwtMjkgMjQgMjQgMTMgYzIzIDEyIDExNCA3MCAzMDkgMTk4IDc1IDQ5IDUyMyAyODkgNTQyIDI5MCA0IDEgOTIgLTQyIDE5NSAtOTV6Ii8+IDxwYXRoIGQ9Ik01MCAxMTQyIGMwIC05IDQgLTEyIDMwMCAtMTY3IDExOCAtNjIgMjM2IC0xMjUgMjYzIC0xMzkgMjYgLTE1IDUyIC0yNCA1NyAtMjEgNiA0IDEwIDc0IDEwIDE3MSBsMCAxNjQgLTMxNSAwIGMtMTczIDAgLTMxNSAtNCAtMzE1IC04eiIvPiA8cGF0aCBkPSJNMjMxMCA5ODcgYzAgLTkwIDMgLTE2NyA3IC0xNzAgMyAtNCA4MSAzMiAxNzIgODAgNDAxIDIwOCA0NDEgMjMxIDQ0MSAyNDQgMCA1IC0xMjYgOSAtMzEwIDkgbC0zMTAgMCAwIC0xNjN6Ii8+IDwvZz4gPC9zdmc+IA==\"/\u003e\n## What it does\nCrime Catcher is a solution to keeping our urban spaces safe and secure. \n\nIt is an online surveillance system where a central server receives camera feeds from remote clients and uses AI to determine if weapons or dangerous objects are in frame. The model is GPU-accelerated for efficient processing.\n\nIf a dangerous object is detected, the backend automatically sends an email alert to a trusted contact, ensuring every second counts.\n\nAdditionally, we save and catalog videos and metadata using an SQLite database. This data can be browsed for review and analysis after the fact.\n\n### Other Features:\n\n- Clients will automatically try to reconnect if they get disconnected from the server (they will disconnect after 5 attempts).\n- We integrate time stamps into the video streams such as frame rate, source IP, source building, etc.\n- Users can specify an email address in the server to receive alerts about dangerous objects and weapons.\n- We used ttk bootstrap to create beautiful interfaces on both the client and server in part 1.\n- For Part 2 (the vue.js/quasar and flask dashboard) we have a login system that enforces users to login before they can access the video metadata, ensuring the system is attributable\n- We have motion detection in our server stream so only eventful data is saved to disk, conserving bandwidth\n\n## Technologies Used:\n![OpenCV](https://img.shields.io/badge/OpenCV-5C3EE8?style=for-the-badge\u0026logo=opencv\u0026logoColor=white)\n![Tkinter](https://img.shields.io/badge/Tkinter-FF6F00?style=for-the-badge\u0026logo=tkinter\u0026logoColor=white)\n![Flask](https://img.shields.io/badge/Flask-000000?style=for-the-badge\u0026logo=flask\u0026logoColor=white)\n![Vue.js](https://img.shields.io/badge/Vue.js-4FC08D?style=for-the-badge\u0026logo=vue.js\u0026logoColor=white)\n![SQLite](https://img.shields.io/badge/SQLite-003B57?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n![Kaggle](https://img.shields.io/badge/Kaggle-20BEFF?style=for-the-badge\u0026logo=kaggle\u0026logoColor=white)\n![YOLO](https://img.shields.io/badge/YOLO-00FFFF?style=for-the-badge\u0026logo=yolo\u0026logoColor=black)\n![Quasar](https://img.shields.io/badge/Quasar-1976D2?style=for-the-badge\u0026logo=quasar\u0026logoColor=white)\n\n## Challenges we ran into\n- Working with Tkinter's documentation and using the CUDA framework in our server for GPU acceleration\n\n## Accomplishments that we're proud of\n- Motion detection: Creating logic that pauses recording on the server if there is no motion going on in the camera frame.\n- AI weapon detection: Utilizing machine learning to detect and locate weapons.\n- Video feed centralization: Gathering multiple camera feeds to effectively track and stop bad actors.\n\n## What we learned\nTkinter documentation is difficult to understand, and we learned how to integrate an AI model into our Tkinter server and how to best select a pre trained model to suite our needs. We also learned more about YOLO and model training.\n\n## What's next for Crime Catcher\nAfter our MVP, we want to iterate and add new features like remote client activation in the next sprint.\n\n\n## Sources:\n- Text on Video with OpenCV: https://www.geeksforgeeks.org/python-opencv-write-text-on-video/\n- Ascii art generated using: http://patorjk.com/software/taag/#p=display\u0026f=Graffiti\u0026t=Type%20Something%20\n- Guns detection model from: https://www.kaggle.com/code/ahmedgaitani/guns-object-detection-code\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobpclouse%2Fhackrpi24-adaptive-threat-security-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobpclouse%2Fhackrpi24-adaptive-threat-security-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobpclouse%2Fhackrpi24-adaptive-threat-security-system/lists"}