DEVELOPMENT OF A REAL-TIME URBAN TRAFFIC CONGESTION WARNING SYSTEM
Main Article Content
Abstract
This study presents the design and development of a real-time urban traffic congestion alert system. Motivated by severe congestion and limitations of existing solutions in Vietnam, the study proposes a distributed four-layer architecture comprising camera data acquisition, AI processing, backend services and multi-platform applications. Using a YOLOv8n model trained on a dataset of 20,000 traffic images from Da Nang, the system achieves a mean average precision (mAP@0.5) of 92.4% and a processing speed of 45 FPS on an RTX 3060 GPU. The backend, built with Node.js, PostgreSQL and Redis, concurrently handles up to 25 cameras with an average API latency of 145ms. The web application (React/Vite) delivers 11 functional pages, while the mobile app (Flutter) provides 16 screens on iOS and Android. A simulation-based experiment on 15 camera streams in Da Nang recorded over 800 alerts with accuracy exceeding 90%. These results confirm the system's feasibility within an undergraduate research context and its practical potential to reduce congestion, save travel time and enhance urban traffic safety.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Keywords
Smart traffic system, YOLOv8, computer vision, congestion detection, React, Flutter
References
Bộ Công an. (2025, October 24). Tình hình tai nạn giao thông, cháy, nổ và xử lý hành chính về trật tự, an toàn giao thông tháng 10/2025.
Flutter Documentation. (2025). Flutter SDK documentation. https://docs.flutter.dev
HumanSignal. (n.d.). Label Studio documentation. https://labelstud.io
Jocher, G., Chaurasia, A., & Qiu, J. (2024). YOLOv8: A state-of-the-art object detection model [Technical report]. Ultralytics.
Meta Platforms. (2025). React documentation. https://react.dev
Microsoft COCO Dataset. (n.d.). Common Objects in Context (COCO). https://cocodataset.org
Node.js Foundation. (2025). Node.js v20.x documentation. https://nodejs.org
Open Images Dataset V7. (n.d.). Open Images Dataset V7. Google Research. https://storage.googleapis.com/openimages/web/index.html
OpenCV Team. (2025). OpenCV-Python tutorials. https://docs.opencv.org
Redmon, J., & Farhadi, A. (2018). YOLOv3: An incremental improvement [Preprint]. arXiv. https://arxiv.org/abs/1804.02767
Ultralytics. (2025). YOLOv8 documentation. https://docs.ultralytics.com
Ủy ban nhân dân thành phố Đà Nẵng - Cổng Thông tin điện tử thành phố Đà Nẵng. (2026, January 6). Tổng kết công tác bảo đảm trật tự, an toàn giao thông năm 2025.
Wang, C. Y., Bochkovskiy, A., & Liao, H. Y. M. (2023). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 7464-7475).
Wojke, N., Bewley, A., & Paulus, D. (2017). Simple online and realtime tracking with a deep association metric. In Proceedings of the IEEE International Conference on Image Processing (pp. 3645-3649).