{"id":18622444,"url":"https://github.com/nizarassad/guns-knifes-detection","last_synced_at":"2026-03-01T09:32:56.925Z","repository":{"id":153353815,"uuid":"589351014","full_name":"Nizarassad/Guns-Knifes-detection","owner":"Nizarassad","description":"This project uses YOLOv5 architecture for creating guns and knifes real time detection ","archived":false,"fork":false,"pushed_at":"2023-01-20T14:38:36.000Z","size":23395,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T10:13:18.311Z","etag":null,"topics":["artificial-intelligence","data-processing","data-science","deep-learning","model-optimization","object-detection","python","real-time-object-detection","roboflow","yolo","yolov5"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Nizarassad.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}},"created_at":"2023-01-15T21:58:40.000Z","updated_at":"2024-09-05T02:06:06.000Z","dependencies_parsed_at":"2023-12-15T15:44:25.687Z","dependency_job_id":null,"html_url":"https://github.com/Nizarassad/Guns-Knifes-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nizarassad/Guns-Knifes-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nizarassad%2FGuns-Knifes-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nizarassad%2FGuns-Knifes-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nizarassad%2FGuns-Knifes-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nizarassad%2FGuns-Knifes-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nizarassad","download_url":"https://codeload.github.com/Nizarassad/Guns-Knifes-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nizarassad%2FGuns-Knifes-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29965624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["artificial-intelligence","data-processing","data-science","deep-learning","model-optimization","object-detection","python","real-time-object-detection","roboflow","yolo","yolov5"],"created_at":"2024-11-07T04:16:51.734Z","updated_at":"2026-03-01T09:32:56.899Z","avatar_url":"https://github.com/Nizarassad.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YOLOv5 Real-Time Object Detection for CCTV\n### Introduction\n#### The YOLO (You Only Look Once) series of object detection models are known for their real-time performance and accuracy. In this project, we will be using YOLOv5 to detect guns and knives in CCTV footage in real-time. This project is a proof-of-concept for using YOLOv5 in a security setting to improve public safety.\n\n### Requirements\n    NVIDIA GPU\n    CUDA and cuDNN (version 10.2)\n    Python 3.8 or later\n    OpenCV\n    PyTorch\n    YOLOv5\n    A dataset of CCTV footage containing guns and knives\n    Installation\n    Install CUDA and cuDNN. You can find the installation instructions on the NVIDIA website.\n\n### Clone this repository.\n\n##### Copy code\n     \u003e git clone https://github.com/AlexeyAB/darknet\n#### Install the required Python packages by running the following command in the project directory:\n##### Copy code\n     \u003e pip install -r requirements.txt\n#### Download the pre-trained YOLOv5 weights from the official YOLO website.\n##### Copy code\n     \u003e https://github.com/AlexeyAB/darknet\n    \n#### Build the darknet library.\n##### Copy code \n     \u003e cd darknet\n     \u003e make\n### Usage\n\n- Collect CCTV footage containing guns and knives.\n\n- Run the object detection script on the CCTV footage.\n\n##### Copy code\n     \u003e python detect.py --input path/to/video.mp4 --output path/to/output.avi --weights path/to/weights.pt\n\n\u003cpr\u003e The script will detect guns and knives in the footage and save the output to the specified location.\n\u003c/pr\u003e\n\n## Conclusion\n#### In this project, we have shown how YOLOv5 can be used for real-time object detection in CCTV footage to detect guns and knives. This proof-of-concept demonstrates the potential for using YOLOv5 in a security setting to improve public safety. However, it is important to note that this project is for educational purposes only and should not be used in a real-world setting without proper testing and evaluation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnizarassad%2Fguns-knifes-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnizarassad%2Fguns-knifes-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnizarassad%2Fguns-knifes-detection/lists"}