rajahshan commited on
Commit
382a7d7
Β·
verified Β·
1 Parent(s): 8b2671b

Publish FactoryVision AI model package (public review)

Browse files
Files changed (1) hide show
  1. README.md +49 -29
README.md CHANGED
@@ -10,43 +10,45 @@ tags:
10
  - education
11
  - yolo11
12
  ---
13
- # FactoryVision AI β€” PPE YOLO11n (fine-tuned)
 
14
 
15
- **FactoryVision AI β€” Credits and Attribution**
16
 
17
- **Original Developer & Model Author:** Theivanth Rajamohan
18
- **Technical Review, Code Contributions & Model Publication Support:** [Swapin Vidya](https://huggingface.co/Swapinvidya)
19
- **Project Contributor:** [Rajah Shanmugasundaram](https://huggingface.co/rajahshan)
20
- **Publishing Organisation:** TechSphere Consultancy Services Private Limited
21
- **Hugging Face:** https://huggingface.co/TechsphereAI
22
- **Official Website:** https://techsphereconsultancy.com/
23
 
24
- **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.
25
 
26
- **Original GitHub Repository:** https://github.com/Theivanth/Factory-Vision-AI
27
- **Merged contribution by [Swapin Vidya](https://huggingface.co/Swapinvidya):** https://github.com/Theivanth/Factory-Vision-AI/pull/1
 
 
 
 
28
 
29
- ## Purpose and limitations
30
- Educational object detection for people and PPE-related objects in factory/construction images. **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. In particular, missed detections mean unsafe situations may go unflagged.
 
 
 
 
 
 
 
31
 
32
- ## Architecture and files
33
  - Fine-tuned Ultralytics YOLO11n; original starting checkpoint `yolo11n.pt`
34
- - Weights: `model.pt` (archive `checkpoints/ppe_yolo.pt`)
35
  - 10 classes: see `labels.json`
36
- - Training: 30 configured epochs, 640px image size, batch size 16; the training script uses a held-out PPE test split
37
 
38
- ## Training data
39
- Construction Site Safety Image Dataset, attributed to Snehil Sanyal / Roboflow Universe, referenced by the source project: https://www.kaggle.com/datasets/snehilsanyal/construction-site-safety-image-dataset-roboflow . 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.
40
 
41
- ## Held-out test performance (from the supplied Kaggle output)
42
- - Precision (bounding boxes): **0.8400**
43
- - Recall (bounding boxes): **0.6398**
44
- - mAP@50: **0.7053**
45
- - mAP@50:95: **0.3927**
46
 
47
- The numbers above are reported by the training artefact `ppe_test_metrics.json`, not independently reproduced. The reported test split has 82 images; class-specific breakdown is not included in this package. Do not confuse the separate pretrained YOLO COCO person baseline with this PPE result.
48
 
49
- ## Example inference
50
  ```python
51
  from ultralytics import YOLO
52
  model = YOLO('model.pt')
@@ -55,13 +57,31 @@ for result in results:
55
  print(result.boxes)
56
  ```
57
 
58
- Note: 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.
59
 
60
- ## Licensing and redistribution
61
- - 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 https://www.ultralytics.com/license
62
  - The source repository's MIT licence does **not** automatically license this trained checkpoint, pretrained weights, or source datasets.
63
  - The original developer has reportedly authorised publication; the publisher must still confirm the specific publication terms and applicable third-party rights.
64
  - **Do not assign an MIT/Apache model licence or switch to public visibility until licensing has been checked and recorded.**
65
 
66
- ## Known limitations
 
67
  Domain shift, lighting, small objects, occlusion, crowded scenes, cameras and inference thresholds may reduce performance. False negatives are especially concerning for PPE alerting.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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')
 
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)