Skip to content

AlessandroFerrante/StreetSignSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreetSignSense

Real-Time Traffic Sign Detection

Python 3.11.13 PyTorch 2.6.0 Linguaggio Principale Dimensione Repository

Dataset DOI Images Annotations

Ultralytics  8.3.229 Ultralytics Github Ultralytics YOLO12

TensorFlow.js ONNX

HTML5 CSS3 JavaScript

GitHub Pages Licenza License

Kaggle Model-StreetSignSense

Project-StreetSignSense Badge Report PDF

visitors Stelle

StreetSignSense is a Machine Learning and Object Detection project focused on real-time identification and classification of traffic signs. The project explores the potential of executing Artificial Intelligence models directly in the browser (client-side) to ensure low latency, privacy, and high performance on edge devices.

🚀 Try Demo

The web application is entirely hosted on GitHub Pages and demonstrates the model's capabilities in a real and accessible environment.


🔬 Project Architecture

The repository covers the entire Machine Learning lifecycle, structured into three critical phases:

Training & Validation (Python/PyTorch)

Use of Ultralytics YOLO (12) for supervised training on a large-scale traffic sign dataset.

  • Engine: PyTorch + Ultralytics
  • Dataset: Kaggle (Identified via DOI)
  • Output: High-precision .pt models (optimized mAP).

Edge Inference (JavaScript/TF.js)

The heart of the innovation: running the model directly in the user's browser.

  • Framework: TensorFlow.js with WebGL/WASM backend.
  • Logic: Image pre-processing (resize, normalization) and Post-processing (Non-Maximum Suppression) implemented in pure ES6+ JavaScript.
  • Frontend: Reactive interface for real-time video stream management (getUserMedia).

⚡️ Key Features

  • Zero-Latency Network: Inference happens on-device (Edge Computing), eliminating network delays.
  • Privacy-First: No video data ever leaves the user's device.
  • Cross-Platform: Compatible with any device equipped with a modern browser (Chrome, Firefox, Safari, Edge).
  • Robustness: Trained to handle variations in lighting, angles, and partial sign occlusions.

👨‍💻 Author

Alessandro Ferrante

Email: github@alessandroferrante.net

About

Real-time Road Sign Detection using YOLO12 with a web demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published