automatic weapon detection software using a convolutional neural network (CNN) based on pre-trained You Only Look Once (YOLO) model.
Explore the docs »
View Demo
Table of Contents
The first and supreme goal of science is to serve man-kind, and since the security and safety of man-kind is one of the first and most important priorities, we worked on “Weapon Dectection Sysyem” depending on artificial intelligence and deep learning technologies can detect weapons such as: pistols, knifes and rifles then sending alert mails with the detected weapon for the authorized department such as: police department, security man, ... etc.
To get a local copy up and running follow these simple steps.
To be able to run the system you have to install the following Prerequisites
-
Windows
-
Github (Desktop/Bash)
-
Darknet
git clone https://github.com/AlexeyAB/darknet
-
Flask
pip install Flask
- Clone the repo
git clone https://github.com/MahmoudMTaha/YoloV4-Weapons-Detection.git
- Install Darknet Tutorial in a new folder "darknet-master"
- delete "data" and "cfg" folders from darknet-master
- copy "data" and "cfg" folders from the cloned darknet folder to "darknet-master"
- rename darknet.py in "darknet-master" to darknet2.py
- download "yolov4-custom_best.weights" from here into "darknet-master"
- delete the cloned darknet folder
- rename "darknet-master" to darknet and move it to the project folder
- edit Yolo_Test_and_Deployment.ipynb by putting sender email and password
This is The Graduation Project of the Information Technology institute ITI AI program Powered by EPITA