Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,134 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
# GolfCart YOLO11s — Model Card
|
| 5 |
+
|
| 6 |
+
**Model name:** `golfcart-yolo11s`
|
| 7 |
+
|
| 8 |
+
**One-line summary**
|
| 9 |
+
A compact YOLO11s detection model fine-tuned to identify golf carts in aerial and ground-level images. Optimized for fast inference on edge devices while maintaining strong precision across varying lighting and backgrounds.
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## Model description
|
| 14 |
+
|
| 15 |
+
This model is a lightweight YOLO11s variant trained to **detect golf carts** in diverse environments — fairways, parking lots, garages, and drone captures. It balances speed and accuracy for real-time applications like fleet monitoring, course management, safety analytics, and automated observation systems.
|
| 16 |
+
|
| 17 |
+
* **Architecture:** YOLO11s (small) — one-stage single-shot detector optimized for real-time inference.
|
| 18 |
+
* **Input size:** variable; recommended 640×640 or 512×512.
|
| 19 |
+
* **Output:** detection mask and confidence score for the class `golf_cart`.
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## Visual examples
|
| 24 |
+
|
| 25 |
+
Below are example inputs and model outputs (replace with your own hosted images):
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
*Detected golf cart in ground-level image.*
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
*Detected golf cart in aerial view.*
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
*Model predictions with confidence overlays.*
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## Intended uses
|
| 39 |
+
|
| 40 |
+
**Primary (appropriate):**
|
| 41 |
+
|
| 42 |
+
* Monitoring golf cart activity on courses.
|
| 43 |
+
* Fleet usage and movement tracking.
|
| 44 |
+
* Safety or proximity alerts on maintenance vehicles.
|
| 45 |
+
* Drone-based detection of golf carts in aerial surveys.
|
| 46 |
+
|
| 47 |
+
**Out-of-scope:**
|
| 48 |
+
|
| 49 |
+
* Identifying individuals or non-cart objects.
|
| 50 |
+
* Use in safety-critical or privacy-sensitive contexts without human oversight.
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Training data
|
| 55 |
+
|
| 56 |
+
* **Total images:** 624
|
| 57 |
+
* **Content:** golf carts and mixed scenes (including negative examples with no carts)
|
| 58 |
+
* **Augmentations:** horizontal flip, brightness/contrast variation, mosaic augmentation, scaling, rotation.
|
| 59 |
+
* **Annotation style:** detection labels (not bounding boxes)
|
| 60 |
+
|
| 61 |
+
---
|
| 62 |
+
|
| 63 |
+
## Evaluation
|
| 64 |
+
|
| 65 |
+
* **Validation/Evaluation set:** 68 images (balanced with and without golf carts)
|
| 66 |
+
* **Results:**
|
| 67 |
+
|
| 68 |
+
* **mAP@50:** 0.93
|
| 69 |
+
* **mAP@50–95:** 0.649
|
| 70 |
+
* **Precision:** 0.978
|
| 71 |
+
* **Recall:** 0.853
|
| 72 |
+
|
| 73 |
+
These results indicate strong performance even with a relatively small dataset, especially in high-confidence detection of golf carts across mixed environments.
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
+
## How to use
|
| 78 |
+
|
| 79 |
+
**Install:**
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
pip install ultralytics
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
**Inference example:**
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from ultralytics import YOLO
|
| 89 |
+
|
| 90 |
+
model = YOLO('best-3.pt')
|
| 91 |
+
results = model('test_images/golfcart_drone_01.jpg', imgsz=640)
|
| 92 |
+
|
| 93 |
+
results[0].show() # or results[0].save()
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
Supports ONNX, TorchScript, and TensorRT conversion for deployment.
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## Limitations and failure modes
|
| 101 |
+
|
| 102 |
+
* Misses can occur when golf carts are small, heavily occluded, or extremely far away in aerial imagery.
|
| 103 |
+
* Performance may vary for uncommon cart shapes or regions not represented in the training set.
|
| 104 |
+
|
| 105 |
+
---
|
| 106 |
+
|
| 107 |
+
## Biases
|
| 108 |
+
|
| 109 |
+
The dataset contains mostly North American golf cart models and course designs. Accuracy may dip in unfamiliar regional styles or environments.
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## Ethical considerations
|
| 114 |
+
|
| 115 |
+
* Avoid using this model for surveillance involving people.
|
| 116 |
+
* Respect local drone and privacy regulations.
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## Model parameters
|
| 121 |
+
|
| 122 |
+
* **Weights:** `best-3.pt`
|
| 123 |
+
* **Training date:** 2025-10-03 (replace with actual)
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## How to cite
|
| 127 |
+
|
| 128 |
+
If you use this model, please cite with the model name and link to its Hugging Face card.
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## Contact
|
| 133 |
+
|
| 134 |
+
Maintainer: Ryan Witzman — `ryan@rwitz.com`
|