Ai-assisted vehicle detection and traffic flow analysis from CCTV imagery using YOLO in the Bangkok metropolitan area

Rapid urban expansion and rising vehicle numbers in metropolitan areas have intensified traffic congestion and increased the risk of road traffic accidents. However, traditional traffic data collection methods remain limited in spatial coverage and temporal resolution, reducing their effectiveness for traffic management and road safety planning. Closed-circuit television (CCTV) systems continuously capture traffic conditions, yet their analytical potential has not been fully utilized. Advances in deep learning, particularly the You Only Look Once (YOLO) algorithm, provide strong capabilities for real-time object detection and classification from image data. This study aimed to evaluate the performance of YOLOv5m, YOLOv8m, and YOLOv12m in detecting and classifying vehicle types from CCTV video data collected from three major bridges in Bangkok, and to analyze traffic volume by time period and travel direction. The results showed that YOLOv12m demonstrated competitive overall detection performance compared with YOLOv5m and YOLOv8m. Temporal analysis revealed higher inbound traffic in the morning and greater outbound traffic in the evening, reflecting commuting patterns. In addition, the model supported traffic volume analysis across selected bridge corridors. These findings highlight the potential of integrating CCTV and YOLO for automated traffic monitoring, traffic volume analysis, road safety support, and smart transportation planning in Bangkok.

Authors

Institutions

Publication Details

Journal
Transportation Research Interdisciplinary Perspectives
Published
2026-06-09
DOI
https://doi.org/10.1016/j.trip.2026.102104
Primary Topic
Automated Road and Building Extraction
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Ai-assisted vehicle detection and traffic flow analysis from CCTV imagery using YOLO in the Bangkok metropolitan area

Kunyaphat Thanakunwutthirot, Nayot Kulpanich, Morakot Worachairungreung, Pornperm SAE-NGOW et al.
Transportation Research Interdisciplinary Perspectives
Automated Road and Building Extraction
article

Ai-assisted vehicle detection and traffic flow analysis from CCTV imagery using YOLO in the Bangkok metropolitan area

Kunyaphat Thanakunwutthirot, Nayot Kulpanich, Morakot Worachairungreung, Pornperm SAE-NGOW, Sarawut Ninsawat, Sila Doddacha, Jarukiat Nilnarong
article en

Abstract

Rapid urban expansion and rising vehicle numbers in metropolitan areas have intensified traffic congestion and increased the risk of road traffic accidents. However, traditional traffic data collection methods remain limited in spatial coverage and temporal resolution, reducing their effectiveness for traffic management and road safety planning. Closed-circuit television (CCTV) systems continuously capture traffic conditions, yet their analytical potential has not been fully utilized. Advances in deep learning, particularly the You Only Look Once (YOLO) algorithm, provide strong capabilities for real-time object detection and classification from image data. This study aimed to evaluate the performance of YOLOv5m, YOLOv8m, and YOLOv12m in detecting and classifying vehicle types from CCTV video data collected from three major bridges in Bangkok, and to analyze traffic volume by time period and travel direction. The results showed that YOLOv12m demonstrated competitive overall detection performance compared with YOLOv5m and YOLOv8m. Temporal analysis revealed higher inbound traffic in the morning and greater outbound traffic in the evening, reflecting commuting patterns. In addition, the model supported traffic volume analysis across selected bridge corridors. These findings highlight the potential of integrating CCTV and YOLO for automated traffic monitoring, traffic volume analysis, road safety support, and smart transportation planning in Bangkok.

Transportation Research Interdisciplinary PerspectivesVol. 38
Asian Institute of Technology (TH), Suan Sunandha Rajabhat University (TH)
National Research Council of Thailand
Sustainable cities and communities
Openalex Percentile: Top 8%
Automated Road and Building Extraction
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.