sharathhhhh commited on
Commit
cc13c3d
·
verified ·
1 Parent(s): b44d0b5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -3
README.md CHANGED
@@ -1,3 +1,69 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - Ultralytics/YOLOv8
7
+ tags:
8
+ - yolov8
9
+ - object-detection
10
+ - computer-vision
11
+ - deep-learning
12
+ - road-safety-ai
13
+ ---
14
+
15
+ ## Model Details
16
+
17
+ ### Model Description
18
+
19
+ This model is trained to detect whether a person is wearing a helmet or not, using YOLOv8.
20
+ This is a custom-trained [YOLOv8](https://github.com/ultralytics/ultralytics) model that detects whether a person is wearing a helmet or not. The goal is to improve road safety and ensure helmet compliance using computer vision.
21
+
22
+
23
+
24
+ - **Developed by:** sharathhhhh
25
+ - **Model type:** Object detection
26
+ - **Language(s) (NLP):** English
27
+ - **License:** Apache license 2.0
28
+ - **Finetuned from model [optional]:** YOLOv8
29
+
30
+ ## Model Details
31
+
32
+ - **Model**: YOLOv8
33
+ - **Framework**: [Ultralytics YOLO](https://github.com/ultralytics/ultralytics)
34
+ - **Backbone**: CSPDarknet
35
+ - **Trained for**: Helmet detection on riders using CCTV/video surveillance
36
+ - **Input size**: 640x640
37
+ - **Classes**:
38
+ - `with_helmet`
39
+ - `without_helmet`
40
+
41
+ ---
42
+
43
+ ## Training Configuration
44
+
45
+ - **Epochs**: 28
46
+ - **Optimizer**: SGD (default)
47
+ - **Loss**: YOLOv8 objectness + box + class
48
+ - **Image Size**: 640x640
49
+ - **Batch Size**: 16
50
+ - **Device**: NVIDIA GPU (Colab/Local)
51
+
52
+
53
+ ## Example Usage
54
+
55
+ Install dependencies:
56
+ ```bash
57
+ pip install ultralytics
58
+
59
+
60
+ #Load model and predict:
61
+
62
+ from ultralytics import YOLO
63
+ model = YOLO("your-username/helmet-detection-yolov8")
64
+
65
+ # Predict on image
66
+ results = model("rider.jpg")
67
+
68
+ # Display results
69
+ results[0].show()