{"id":26898356,"url":"https://github.com/surajsanap/neuroforensics","last_synced_at":"2026-04-13T07:02:34.432Z","repository":{"id":282660584,"uuid":"949184940","full_name":"SurajSanap/NeuroForensics","owner":"SurajSanap","description":"NeuroForensics is an AI-powered criminal detection system using deep learning and OpenCV for real-time surveillance, facial recognition, and weapon detection. It integrates with security cameras, analyzes crime patterns, and enhances law enforcement with forensic data insights, ensuring proactive crime prevention and safer communities.","archived":false,"fork":false,"pushed_at":"2025-03-31T07:24:05.000Z","size":10573,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T08:25:38.917Z","etag":null,"topics":["css","html","opencv","python","yolov8"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SurajSanap.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-15T21:37:26.000Z","updated_at":"2025-03-31T07:24:08.000Z","dependencies_parsed_at":"2025-03-16T15:15:43.589Z","dependency_job_id":null,"html_url":"https://github.com/SurajSanap/NeuroForensics","commit_stats":null,"previous_names":["surajsanap/neuroforensics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SurajSanap/NeuroForensics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SurajSanap%2FNeuroForensics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SurajSanap%2FNeuroForensics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SurajSanap%2FNeuroForensics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SurajSanap%2FNeuroForensics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SurajSanap","download_url":"https://codeload.github.com/SurajSanap/NeuroForensics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SurajSanap%2FNeuroForensics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31742941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: 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":["css","html","opencv","python","yolov8"],"created_at":"2025-04-01T05:46:40.718Z","updated_at":"2026-04-13T07:02:34.411Z","avatar_url":"https://github.com/SurajSanap.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"https://github.com/user-attachments/assets/668cc846-e49d-456d-a3b5-90871ad4f7ef\" width=\"150\"\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n\r\n# NeuroForensics: AI-Powered Criminal Detection System\r\n\r\n## 📌 Introduction\r\nNeuroForensics is an **AI-powered criminal detection system** that leverages **deep learning**, **OpenCV**, and **real-time surveillance** to enhance security operations. It integrates with security cameras, performs **facial recognition**, and detects **weapons** to assist law enforcement in proactive crime prevention.\r\n\r\n\r\n## 🚀 Features\r\n✅ **Real-time Video Processing** - Stream live camera feeds with OpenCV.  \r\n✅ **Facial Recognition** - Identify known criminals using deep learning models (DeepFace).  \r\n✅ **Weapon Detection** - Detect firearms and knives using AI models.  \r\n✅ **Database Management** - Store and retrieve criminal profiles with crime details.  \r\n✅ **Secure Authentication** - User login system to manage cameras and detections.  \r\n✅ **Automated Alerts** - Log detections with timestamps for forensic analysis.  \r\n\r\n## 🏗️ Technology Stack\r\n- **Python** (Flask for the backend)\r\n- **OpenCV** (Real-time video streaming \u0026 processing)\r\n- **DeepFace** (Facial recognition)\r\n- **YOLO** (Weapon detection)\r\n- **SQLite** (Database storage)\r\n- **HTML, CSS, JavaScript** (Frontend interface)\r\n\r\n## Flowchart:\r\n\r\nflowchart TD\r\n                A[Start] --\u003e B[User Login/Register]\r\n                B --\u003e C[Dashboard]\r\n                C --\u003e D[Manage Cameras]\r\n                D --\u003e E[Register Camera]\r\n                D --\u003e F[Delete Camera]\r\n                C --\u003e G[Stream Camera]\r\n                G --\u003e H[Face Detection]\r\n                G --\u003e I[Weapon Detection]\r\n                H --\u003e J[Store Detection Data]\r\n                I --\u003e J\r\n                I --\u003e K[Trigger Alert]\r\n                J --\u003e L[Generate Report]\r\n                K --\u003e L\r\n                L --\u003e M[End]\r\n\r\n## 🔧 Installation Guide\r\n### **Step 1: Clone the Repository**\r\n```bash\r\ngit clone https://github.com/your-repo/NeuroForensics.git\r\ncd NeuroForensics\r\n```\r\n\r\n### **Step 2: Create a Virtual Environment**\r\n```bash\r\npython -m venv env\r\nsource env/bin/activate  # On Windows, use `env\\Scripts\\activate`\r\n```\r\n\r\n### **Step 3: Install Dependencies**\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n### **Step 4: Setup the Database**\r\n```bash\r\npython\r\n\u003e\u003e\u003e from app import db\r\n\u003e\u003e\u003e db.create_all()\r\n\u003e\u003e\u003e exit()\r\n```\r\n\r\n### **Step 5: Run the Application**\r\n```bash\r\npython app.py\r\n```\r\nAccess the web interface at: **`http://127.0.0.1:5000`**\r\n\r\n## 📂 Project Structure\r\n```\r\nNeuroForensics/\r\n│── models/\r\n│   ├── database.py      # Database models\r\n│   ├── face_detection.py # Face recognition logic\r\n│   ├── weapon_detection.py # Weapon detection logic\r\n│── templates/\r\n│   ├── dashboard.html   # Live monitoring interface\r\n│   ├── manage_cameras.html # Camera management UI\r\n│── static/\r\n│── uploads/            # Criminal images storage\r\n│── app.py              # Main Flask application\r\n│── requirements.txt    # Dependencies\r\n│── README.md           # Project documentation\r\n```\r\n\r\n## 🎯 How It Works\r\n1️⃣ **Register Cameras** - Add security cameras via IP streams.  \r\n2️⃣ **Real-time Face \u0026 Weapon Detection** - Detect criminals \u0026 weapons live.  \r\n3️⃣ **Store Criminal Data** - Save face encodings in the database.  \r\n4️⃣ **Forensic Logging** - Capture and store images for forensic analysis.  \r\n\r\n## 🤖 AI Models Used\r\n- **DeepFace** for face recognition.\r\n- **YOLO (You Only Look Once)** for object (weapon) detection.\r\n- **OpenCV** for real-time image processing.\r\n\r\n## 🎦SS\r\n- 1.\r\n![Detection](https://github.com/user-attachments/assets/d6e1100b-44da-46da-afaf-bb156e7423b8)\r\n- 2.\r\n![image](https://github.com/user-attachments/assets/f20437c0-f837-4e34-b588-c3e87dd28892)\r\n\r\n\r\n## 📜 License\r\nThis project is licensed under the MIT License.\r\n\r\n\r\n## 📬 Contact\r\nFor queries, reach out via email: `surajsanapcontact@gmail.com`\r\n\r\n**Let's build a safer world with AI-powered crime detection!**\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurajsanap%2Fneuroforensics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurajsanap%2Fneuroforensics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurajsanap%2Fneuroforensics/lists"}