Skip to content

noorkhokhar99/weapon-detection-python-opencv-withyolov5-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weapon detection python opencv with yolov5

Steps to run Code

  • 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

Inference on a video:

https://www.youtube.com/@Pyresearch/videos