Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- computer-vision
|
| 5 |
+
- object-detection
|
| 6 |
+
- yolov8
|
| 7 |
+
- security
|
| 8 |
+
- real-time
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Sentinel AI Crime Model (YOLOv8 Medium)
|
| 12 |
+
|
| 13 |
+
This is a custom-trained **YOLOv8 Medium** model explicitly designed to detect real-time threats from surveillance cameras.
|
| 14 |
+
|
| 15 |
+
### Model Description
|
| 16 |
+
The Sentinel AI model was trained on thousands of physical crime scene videos and acts as the vision engine for the **Sentinel AI Pipeline**. It is optimized to track background pedestrians while simultaneously isolating high-threat events like physical violence.
|
| 17 |
+
|
| 18 |
+
- **Developer:** Ayush Yele
|
| 19 |
+
- **Framework:** PyTorch & Ultralytics YOLOv8
|
| 20 |
+
- **Architecture:** YOLOv8 (Medium)
|
| 21 |
+
- **Epochs Trained:** 100
|
| 22 |
+
|
| 23 |
+
### Classes
|
| 24 |
+
This model predicts 4 specific macro-classes for emergency dispatch scenarios:
|
| 25 |
+
- `0`: `fight` (Physical altercations, assault)
|
| 26 |
+
- `1`: `weapon` (Knives, handguns, blunt objects)
|
| 27 |
+
- `2`: `violence` (Robbery, vandalism, rioting)
|
| 28 |
+
- `3`: `normal` (Pedestrians, standing objects)
|
| 29 |
+
|
| 30 |
+
### How to Use
|
| 31 |
+
You can plug this model directly into standard Ultralytics YOLO inference code:
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from ultralytics import YOLO
|
| 35 |
+
|
| 36 |
+
# Load the custom trained model
|
| 37 |
+
model = YOLO("AyushYele/Sentinel_Ai")
|
| 38 |
+
|
| 39 |
+
# Run inference on an image
|
| 40 |
+
results = model("surveillance_feed.jpg")
|
| 41 |
+
results[0].show()
|