Skip to content

Latest commit

 

History

History
90 lines (56 loc) · 5.51 KB

File metadata and controls

90 lines (56 loc) · 5.51 KB

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