rajahshan commited on
Commit
68f4d59
·
verified ·
1 Parent(s): 382a7d7

Publish FactoryVision AI model package (public review)

Browse files
Files changed (2) hide show
  1. README.md +71 -72
  2. hero.svg +33 -0
README.md CHANGED
@@ -10,78 +10,77 @@ tags:
10
  - education
11
  - yolo11
12
  ---
13
- # 🏭 FactoryVision AI
14
- ## PPE Detection · YOLO11n
15
-
16
- > **Educational prototype** · Object detection for factory and construction imagery · **Human review required**
17
-
18
- | Model | Task | Framework | Weights |
19
- |---|---|---|---|
20
- | FactoryVision AI PPE YOLO11n | Object detection | Ultralytics YOLO11n | `model.pt` |
21
-
22
- ## 📊 Held-out test results
23
-
24
- | Metric | Reported result |
25
- |---|---:|
26
- | Precision (bounding boxes) | **0.8400** |
27
- | Recall (bounding boxes) | **0.6398** |
28
- | mAP@50 | **0.7053** |
29
- | mAP@50:95 | **0.3927** |
30
-
31
- These values are reported in `ppe_test_metrics.json`, not independently reproduced. The reported test split has 82 images; a class-specific breakdown is not included in this package. Do not confuse the separate pretrained YOLO COCO person baseline with this PPE result.
32
-
33
- ## 🎯 Purpose and safety
34
-
35
- Educational object detection for people and PPE-related objects in factory/construction images. **This is not a certified industrial safety system.** Detected PPE status is only a suggested alert requiring human review; it cannot establish a worker's actual PPE compliance or substitute for a trained safety inspector. Missed detections mean unsafe situations may go unflagged.
36
-
37
- > ⚠️ Object detections alone do not perform the project's person-to-helmet association. The original application implements an additional alert logic layer; consult its source and use human review.
38
-
39
- ## 🧠 Model details
40
-
41
- - Fine-tuned Ultralytics YOLO11n; original starting checkpoint `yolo11n.pt`
42
- - Packaged weights: `model.pt` (archive path `checkpoints/ppe_yolo.pt`)
43
- - 10 classes: see `labels.json`
44
- - Training configuration: 30 epochs, 640px image size, batch size 16; the training script uses a held-out PPE test split
45
-
46
- ## 🗂️ Training data
47
-
48
- Construction Site Safety Image Dataset, attributed to Snehil Sanyal / Roboflow Universe and referenced by the source project: [Kaggle dataset](https://www.kaggle.com/datasets/snehilsanyal/construction-site-safety-image-dataset-roboflow). The source project lists CC BY 4.0 for this dataset; verify provenance and attribution requirements before public release. Dataset images are not included in this model package.
49
-
50
- ## 🚀 Example inference
51
-
52
- ```python
53
- from ultralytics import YOLO
54
  model = YOLO('model.pt')
55
  results = model.predict('your_image.jpg', conf=0.25)
56
  for result in results:
57
- print(result.boxes)
58
- ```
59
-
60
- ## ⚖️ Licensing and redistribution
61
-
62
- - Ultralytics YOLO11 and its fine-tuned checkpoints have AGPL-3.0 obligations by default, or require a suitable enterprise licence for uses incompatible with AGPL-3.0. See [Ultralytics licensing](https://www.ultralytics.com/license).
63
- - The source repository's MIT licence does **not** automatically license this trained checkpoint, pretrained weights, or source datasets.
64
- - The original developer has reportedly authorised publication; the publisher must still confirm the specific publication terms and applicable third-party rights.
65
- - **Do not assign an MIT/Apache model licence or switch to public visibility until licensing has been checked and recorded.**
66
-
67
- ## ⚠️ Known limitations
68
-
69
- Domain shift, lighting, small objects, occlusion, crowded scenes, cameras and inference thresholds may reduce performance. False negatives are especially concerning for PPE alerting.
70
-
71
- ---
72
-
73
- ## 🤝 Credits and attribution
74
-
75
- | Role | Contributor |
76
- |---|---|
77
- | Original Developer & Model Author | Theivanth Rajamohan |
78
- | Technical Reviewer, Code Contributor & Publication Support | [Swapin Vidya](https://huggingface.co/Swapinvidya) |
79
- | Project Contributor | [Rajah Shanmugasundaram](https://huggingface.co/rajahshan) |
80
- | Publishing Organisation | TechSphere Consultancy Services Private Limited |
81
-
82
- **Project provenance:** FactoryVision AI was originally developed by Theivanth Rajamohan. [Swapin Vidya](https://huggingface.co/Swapinvidya) contributed technical review, detection-metrics improvements, testing, model publication preparation and documentation. The models are being prepared for publication under TechSphere Consultancy Services Private Limited's Hugging Face namespace, with the original developer's permission.
83
-
84
- - 🤗 [TechSphereAI on Hugging Face](https://huggingface.co/TechsphereAI)
85
- - 🌐 [Official website](https://techsphereconsultancy.com/)
86
- - 💻 [Original GitHub project](https://github.com/Theivanth/Factory-Vision-AI)
87
- - 🔀 [Swapin Vidya's merged contribution](https://github.com/Theivanth/Factory-Vision-AI/pull/1)
 
10
  - education
11
  - yolo11
12
  ---
13
+ <div align="center">
14
+ <img src="hero.svg" alt="FactoryVision AI PPE detection: YOLO11n object detection for safety equipment" width="100%">
15
+ <p><strong>Educational prototype</strong> &nbsp;|&nbsp; Object detection for factory and construction imagery &nbsp;|&nbsp; Human review required</p>
16
+ </div>
17
+
18
+ <h2>Model overview</h2>
19
+ <table>
20
+ <thead><tr><th>Model</th><th>Task</th><th>Framework</th><th>Weights</th></tr></thead>
21
+ <tbody><tr><td>FactoryVision AI PPE YOLO11n</td><td>Object detection</td><td>Ultralytics YOLO11n</td><td><code>model.pt</code></td></tr></tbody>
22
+ </table>
23
+
24
+ <h2>Held-out test results</h2>
25
+ <table>
26
+ <thead><tr><th>Metric</th><th>Reported result</th></tr></thead>
27
+ <tbody>
28
+ <tr><td>Precision (bounding boxes)</td><td><strong>0.8400</strong></td></tr>
29
+ <tr><td>Recall (bounding boxes)</td><td><strong>0.6398</strong></td></tr>
30
+ <tr><td>mAP@50</td><td><strong>0.7053</strong></td></tr>
31
+ <tr><td>mAP@50:95</td><td><strong>0.3927</strong></td></tr>
32
+ </tbody>
33
+ </table>
34
+ <p>These values are reported in <code>ppe_test_metrics.json</code>, not independently reproduced. The reported test split has 82 images; a class-specific breakdown is not included in this package. Do not confuse the separate pretrained YOLO COCO person baseline with this PPE result.</p>
35
+
36
+ <h2>Purpose and safety</h2>
37
+ <p>Educational object detection for people and PPE-related objects in factory and construction images. <strong>This is not a certified industrial safety system.</strong> Detected PPE status is only a suggested alert requiring human review; it cannot establish a worker's actual PPE compliance or substitute for a trained safety inspector. Missed detections mean unsafe situations may go unflagged.</p>
38
+ <blockquote><strong>Safety limitation:</strong> Object detections alone do not perform the project's person-to-helmet association. The original application implements an additional alert logic layer; consult its source and use human review.</blockquote>
39
+
40
+ <h2>Model details</h2>
41
+ <ul>
42
+ <li>Fine-tuned Ultralytics YOLO11n; original starting checkpoint <code>yolo11n.pt</code></li>
43
+ <li>Packaged weights: <code>model.pt</code> (archive path <code>checkpoints/ppe_yolo.pt</code>)</li>
44
+ <li>10 classes: see <code>labels.json</code></li>
45
+ <li>Training configuration: 30 epochs, 640px image size, batch size 16; the training script uses a held-out PPE test split</li>
46
+ </ul>
47
+
48
+ <h2>Training data</h2>
49
+ <p>Construction Site Safety Image Dataset, attributed to Snehil Sanyal / Roboflow Universe and referenced by the source project: <a href="https://www.kaggle.com/datasets/snehilsanyal/construction-site-safety-image-dataset-roboflow">Kaggle dataset</a>. The source project lists CC BY 4.0 for this dataset; verify provenance and attribution requirements before public release. Dataset images are not included in this model package.</p>
50
+
51
+ <h2>Example inference</h2>
52
+ <pre><code>from ultralytics import YOLO
 
53
  model = YOLO('model.pt')
54
  results = model.predict('your_image.jpg', conf=0.25)
55
  for result in results:
56
+ print(result.boxes)</code></pre>
57
+
58
+ <h2>Licensing and redistribution</h2>
59
+ <ul>
60
+ <li>Ultralytics YOLO11 and its fine-tuned checkpoints have AGPL-3.0 obligations by default, or require a suitable enterprise licence for uses incompatible with AGPL-3.0. See <a href="https://www.ultralytics.com/license">Ultralytics licensing</a>.</li>
61
+ <li>The source repository's MIT licence does <strong>not</strong> automatically license this trained checkpoint, pretrained weights, or source datasets.</li>
62
+ <li>The original developer has reportedly authorised publication; the publisher must still confirm the specific publication terms and applicable third-party rights.</li>
63
+ <li><strong>Do not assign an MIT/Apache model licence or switch to public visibility until licensing has been checked and recorded.</strong></li>
64
+ </ul>
65
+
66
+ <h2>Known limitations</h2>
67
+ <p>Domain shift, lighting, small objects, occlusion, crowded scenes, cameras and inference thresholds may reduce performance. False negatives are especially concerning for PPE alerting.</p>
68
+
69
+ <hr>
70
+ <h2>Credits and attribution</h2>
71
+ <table>
72
+ <thead><tr><th>Role</th><th>Contributor</th></tr></thead>
73
+ <tbody>
74
+ <tr><td>Original Developer &amp; Model Author</td><td>Theivanth Rajamohan</td></tr>
75
+ <tr><td>Technical Reviewer, Code Contributor &amp; Publication Support</td><td><a href="https://huggingface.co/Swapinvidya">Swapin Vidya</a></td></tr>
76
+ <tr><td>Project Contributor</td><td><a href="https://huggingface.co/rajahshan">Rajah Shanmugasundaram</a></td></tr>
77
+ <tr><td>Publishing Organisation</td><td>TechSphere Consultancy Services Private Limited</td></tr>
78
+ </tbody>
79
+ </table>
80
+ <p><strong>Project provenance:</strong> FactoryVision AI was originally developed by Theivanth Rajamohan. <a href="https://huggingface.co/Swapinvidya">Swapin Vidya</a> contributed technical review, detection-metrics improvements, testing, model publication preparation and documentation. The models are being prepared for publication under TechSphere Consultancy Services Private Limited's Hugging Face namespace, with the original developer's permission.</p>
81
+ <ul>
82
+ <li><a href="https://huggingface.co/TechsphereAI">TechSphereAI on Hugging Face</a></li>
83
+ <li><a href="https://techsphereconsultancy.com/">Official website</a></li>
84
+ <li><a href="https://github.com/Theivanth/Factory-Vision-AI">Original GitHub project</a></li>
85
+ <li><a href="https://github.com/Theivanth/Factory-Vision-AI/pull/1">Swapin Vidya's merged contribution</a></li>
86
+ </ul>
hero.svg ADDED