Shantanukadam commited on
Commit
4e01098
·
verified ·
1 Parent(s): fd7e113

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Weapon Detection Models
2
+ Welcome to the Weapon Detection Models repository!
3
+ This project provides three specialized YOLOv8-based models fine-tuned for detecting various types of weapons in images and videos.
4
+ These models are trained on high-quality datasets sourced from Roboflow and Google Drive.
5
+ They are designed for real-time weapon detection, making them ideal for security and surveillance applications.
6
+
7
+ 🔍 Models Overview:
8
+ There are 3 different models for weapon detection tasks:
9
+
10
+ 1. Gun Detection Model
11
+ Purpose: Detects firearms such as pistols, rifles, and shotguns.
12
+ Use Case: Security systems, law enforcement, and firearm detection in public spaces.
13
+ 2. All Weapons Detection Model
14
+ Purpose: Detects a wide range of weapons, including guns, knives, swords, sticks, axes, and more.
15
+ Use Case: Comprehensive weapon detection for general security and monitoring.
16
+ 3. Bladed Weapons Detection Model
17
+ Purpose: Focuses on detecting bladed weapons such as swords, knives, and sticks.
18
+ Use Case: Specific scenarios requiring detection of melee weapons.
19
+
20
+ 📂 Datasets
21
+ The models are trained on high-quality datasets from:
22
+
23
+ Roboflow: A curated dataset for weapon detection.
24
+ Google Drive Dataset: https://drive.google.com/drive/folders/179q_MNjx0ipzybhdjpQTxVu3IbI-5lWl.
25
+ The datasets include diverse images with bounding box annotations for various weapon types, ensuring robust performance across different environments.
26
+
27
+
28
+ 1. Inference
29
+ You can use the models for inference on images, videos, or live webcam feeds. Below are the commands to run inference:
30
+
31
+ Image Inference
32
+ python infer.py --model gun_detection_project/results/gun_detection/weights/best.pt --source path/to/image.jpg
33
+
34
+ Video Inference
35
+ python infer.py --model gun_detection_project/results/gun_detection/weights/best.pt --source path/to/video.mp4 --output results.mp4
36
+
37
+ Webcam Inference
38
+ python infer.py --model gun_detection_project/results/gun_detection/weights/best.pt --source webcam