{"id":18728223,"url":"https://github.com/sj-on/weapon-recognition-and-classification","last_synced_at":"2025-07-21T12:02:35.315Z","repository":{"id":133490609,"uuid":"278264706","full_name":"sj-on/Weapon-Recognition-and-Classification","owner":"sj-on","description":"Aims at helping Policemen to identify a potentially dangerous situation like a person holding a deadly weapon and is trained especially for detection of the presence of GUNS in an image.","archived":false,"fork":false,"pushed_at":"2020-07-14T07:34:13.000Z","size":291,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T07:06:10.151Z","etag":null,"topics":["darknet-image-classification","deep-learning","weapon-detection","yolov3"],"latest_commit_sha":null,"homepage":"https://sj-on.github.io/Weapon-Recognition-and-Classification/","language":"Jupyter Notebook","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/sj-on.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":"2020-07-09T04:42:26.000Z","updated_at":"2024-08-20T05:57:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a53210f-c4d6-47ee-8c20-1687d90e6f81","html_url":"https://github.com/sj-on/Weapon-Recognition-and-Classification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sj-on/Weapon-Recognition-and-Classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sj-on%2FWeapon-Recognition-and-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sj-on%2FWeapon-Recognition-and-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sj-on%2FWeapon-Recognition-and-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sj-on%2FWeapon-Recognition-and-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sj-on","download_url":"https://codeload.github.com/sj-on/Weapon-Recognition-and-Classification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sj-on%2FWeapon-Recognition-and-Classification/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266296760,"owners_count":23907012,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["darknet-image-classification","deep-learning","weapon-detection","yolov3"],"created_at":"2024-11-07T14:20:12.047Z","updated_at":"2025-07-21T12:02:35.274Z","avatar_url":"https://github.com/sj-on.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eWeapon Recognition and Classification\u003c/h1\u003e\n\u003cbr\u003e\n\u003cp\u003eThis tool, built using \u003cstrong\u003eDarknet\u003c/strong\u003e and \u003cstrong\u003eYOLO\u003c/strong\u003e, aims at helping Policemen (can be extended to CCTVs too), to identify a potentially dangerous situation like a person holding a deadly weapon and is trained especially for detection of the presence of GUNS in an image. All the files required for this tool to work are present here, in this repository, except the .weights file, which got generated after rigorous training of the model and \u003ca href = \"https://drive.google.com/file/d/17z3LOJDlKkTxkcryidLWWZ3DeIRtTlXc/view?usp=sharing\" target = \"_blank\"\u003ecan be downloaded from here\u003c/a\u003e.\u003c/p\u003e\n\u003cbr\u003e\n\u003cp\u003eThis tool has been trained well to work with low-resolution images, therefore images from CCTV cameras won't be an issue. The tool is being made \u003cstrong\u003eOpen-Source\u003c/strong\u003e and hence, can be extended to work as a real-time Weapon Classifier, after making a few modifications to the source code. \u003c/p\u003e\n\u003cbr\u003e\n\n\u003cblockquote\u003e\n  \u003ch2\u003eSteps to make use of the Tool\u003c/h2\u003e\n  \u003col\u003e\n    \u003cli\u003eClone the repository. Do not forget to download the \u003ca href = \"https://drive.google.com/file/d/17z3LOJDlKkTxkcryidLWWZ3DeIRtTlXc/view?usp=sharing\" target = \"_blank\"\u003e.weights file\u003c/a\u003e.\u003c/li\u003e\n    \u003cli\u003eOpen the Terminal/CMD in the same directory as the main.py file. (python main.py)\u003c/li\u003e\n    \u003cli\u003eFollow the instructions given in the program. \u003c/li\u003e\n  \u003c/ol\u003e\n \u003c/blockquote\u003e\n\u003cbr\u003e\n\u003cp\u003eFor the project to be fully functional, make sure that you have latest version of \u003cstrong\u003ePython\u003c/strong\u003e installed on your system.\u003c/p\u003e\n\u003cbr\u003e\n\u003cblockquote\u003e\n  Kindly note that all the paths to be provided to the program are absolute paths. DO NOT provide relative paths.\n\u003c/blockquote\u003e\n\n\u003cp\u003eThis is how we built and trained the model.\u003c/p\u003e\n\u003ciframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/KkErB0YqrEA\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen\u003e\u003c/iframe\u003e\n\u003cbr\u003e\n\u003ciframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/RPXL25qcutw\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen\u003e\u003c/iframe\u003e\n\u003cbr\u003e\n\u003cbr\u003e\nFirst clone this repo to your machine and then \u003ca href=\"https://youtu.be/ngtDlQcDhfw\" target= \"_blank\"\u003ewatch this video on how to make use of this tool.\u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\nThanks and Regards\n\u003cbr\u003e\nSamhita Joshi and The Team\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsj-on%2Fweapon-recognition-and-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsj-on%2Fweapon-recognition-and-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsj-on%2Fweapon-recognition-and-classification/lists"}