- Clone the repository.
git clone https://github.com/noorkhokhar99/weapon-detection-python-opencv-withyolov5-.git
- Goto the cloned folder.
cd weapon-detection-python-opencv-withyolov5-
- Upgrade pip with mentioned command below.
pip install --upgrade pip
- Install requirements with mentioned command below.
pip install -r requirements.txt
-
Run the code with mentioned command below.
-
Run
python filename.py
`
download weight: https://drive.google.com/drive/folders/1g44ApwZcTKVfoHJxxN_caI23XezYCEg-?usp=sharing
do