Downloads · 30 days
91
28% of all-time downloads
yahyagul/traffic-sign-yolov8
traffic-sign-yolov8 is a object detection model from yahyagul. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as mit.
A YOLOv8 object detection model fine-tuned via transfer learning for real-time traffic sign detection and classification. Trained as part of a BS Software Engineering thesis project and subsequently deployed as a publ…
Downloads · 30 days
91
28% of all-time downloads
All-time downloads
324
Public
Repo size
22.5 MB
Likes
0
Public
Click a slice to open those files.
.pt22.5 MB · 100%
From the Hugging Face model README
A YOLOv8 object detection model fine-tuned via transfer learning for real-time traffic sign detection and classification. Trained as part of a BS Software Engineering thesis project and subsequently deployed as a public web application.
🚦 Try it on Hugging Face Spaces — supports image upload, video processing, and live webcam capture.
| Property | Value |
|---|---|
| Base model | YOLOv8 (Ultralytics) |
| Training method | Transfer learning |
| Task | Object detection |
| Input | RGB image or video frame |
| Output | Bounding boxes + class labels + confidence scores |
| ID | Label | ID | Label |
|---|---|---|---|
| 0 | bus_stop | 11 | ped_crossing |
| 1 | do_not_enter | 12 | ped_zebra_cross |
| 2 | do_not_stop | 13 | railway_crossing |
| 3 | do_not_turn_l | 14 | red_light |
| 4 | do_not_turn_r | 15 | stop |
| 5 | do_not_u_turn | 16 | t_intersection_l |
| 6 | enter_left_lane | 17 | traffic_light |
| 7 | green_light | 18 | u_turn |
| 8 | left_right_lane | 19 | warning |
| 9 | no_parking | 20 | yellow_light |
| 10 | parking |
from ultralytics import YOLO
import torch
# Allow loading of custom YOLOv8 checkpoint
_orig = torch.load
def _safe_load(*args, **kwargs):
kwargs["weights_only"] = False
return _orig(*args, **kwargs)
torch.load = _safe_load
# Load model
model = YOLO("best_roboflow.pt")
# Run inference
results = model.predict("your_image.jpg", conf=0.4)
results[0].show()
This model is deployed as a Streamlit web application on Hugging Face Spaces. See the traffic-sign-detector Space for the full application code and deployment details.