Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil

This paper proposes the development of a smart traffic light prototype based on vehicular traffic flow measurement in the stretch between two avenues in the city of Limeira, SP, Brazil, focusing on the stretch towards UNICAMP’s School of Technology. To this end, we initially developed a Python code...

Full description

Saved in:
Bibliographic Details
Main Authors: Talía Simões dos Santos Ximenes, Antonio Carlos de Oliveira Silva, Guilherme Pieretti de Martino, William Machado Emiliano, Mauro Menzori, Yuri Alexandre Meyer, Vitor Eduardo Molina Júnior
Format: Article
Language:English
Published: MDPI AG 2024-11-01
Series:Future Transportation
Subjects:
Online Access:https://www.mdpi.com/2673-7590/4/4/67
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1846104547232055296
author Talía Simões dos Santos Ximenes
Antonio Carlos de Oliveira Silva
Guilherme Pieretti de Martino
William Machado Emiliano
Mauro Menzori
Yuri Alexandre Meyer
Vitor Eduardo Molina Júnior
author_facet Talía Simões dos Santos Ximenes
Antonio Carlos de Oliveira Silva
Guilherme Pieretti de Martino
William Machado Emiliano
Mauro Menzori
Yuri Alexandre Meyer
Vitor Eduardo Molina Júnior
author_sort Talía Simões dos Santos Ximenes
collection DOAJ
description This paper proposes the development of a smart traffic light prototype based on vehicular traffic flow measurement in the stretch between two avenues in the city of Limeira, SP, Brazil, focusing on the stretch towards UNICAMP’s School of Technology. To this end, we initially developed a Python code using the OpenCV library in order to detect and count vehicles. With the counting in operation, programming logic was inserted, aiming at preparing traffic light timers based on vehicular traffic. Finally, the traffic lights were added to display video via a code change to show the ongoing color changes, also obtaining a code for identifying vehicles and flow, in addition to the virtual traffic light system itself in the system. Vehicle counting accuracy was 75% for large vehicles, 90% for passenger cars, and 100% for motorcycles. The simulation of a smart traffic light implementation worked satisfactorily according to the post-processing of the video recorded for validation.
format Article
id doaj-art-1b76439c46294b1e9a30d30aa489c1a3
institution Kabale University
issn 2673-7590
language English
publishDate 2024-11-01
publisher MDPI AG
record_format Article
series Future Transportation
spelling doaj-art-1b76439c46294b1e9a30d30aa489c1a32024-12-27T14:27:30ZengMDPI AGFuture Transportation2673-75902024-11-01441388140110.3390/futuretransp4040067Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, BrazilTalía Simões dos Santos Ximenes0Antonio Carlos de Oliveira Silva1Guilherme Pieretti de Martino2William Machado Emiliano3Mauro Menzori4Yuri Alexandre Meyer5Vitor Eduardo Molina Júnior6Division of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilDivision of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilDivision of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilDivision of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilDivision of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilDivision of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilDivision of Telecommunication and Division of Transport, School of Technology, State University of Campinas, Limeira 13083-970, BrazilThis paper proposes the development of a smart traffic light prototype based on vehicular traffic flow measurement in the stretch between two avenues in the city of Limeira, SP, Brazil, focusing on the stretch towards UNICAMP’s School of Technology. To this end, we initially developed a Python code using the OpenCV library in order to detect and count vehicles. With the counting in operation, programming logic was inserted, aiming at preparing traffic light timers based on vehicular traffic. Finally, the traffic lights were added to display video via a code change to show the ongoing color changes, also obtaining a code for identifying vehicles and flow, in addition to the virtual traffic light system itself in the system. Vehicle counting accuracy was 75% for large vehicles, 90% for passenger cars, and 100% for motorcycles. The simulation of a smart traffic light implementation worked satisfactorily according to the post-processing of the video recorded for validation.https://www.mdpi.com/2673-7590/4/4/67smart traffic lightsmart traffic systemsmonitoringOpenCV libraryOpenCV vehicle detectiontraffic flow management
spellingShingle Talía Simões dos Santos Ximenes
Antonio Carlos de Oliveira Silva
Guilherme Pieretti de Martino
William Machado Emiliano
Mauro Menzori
Yuri Alexandre Meyer
Vitor Eduardo Molina Júnior
Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil
Future Transportation
smart traffic light
smart traffic systems
monitoring
OpenCV library
OpenCV vehicle detection
traffic flow management
title Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil
title_full Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil
title_fullStr Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil
title_full_unstemmed Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil
title_short Vehicular Traffic Flow Detection and Monitoring for Implementation of Smart Traffic Light: A Case Study for Road Intersection in Limeira, Brazil
title_sort vehicular traffic flow detection and monitoring for implementation of smart traffic light a case study for road intersection in limeira brazil
topic smart traffic light
smart traffic systems
monitoring
OpenCV library
OpenCV vehicle detection
traffic flow management
url https://www.mdpi.com/2673-7590/4/4/67
work_keys_str_mv AT taliasimoesdossantosximenes vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil
AT antoniocarlosdeoliveirasilva vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil
AT guilhermepierettidemartino vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil
AT williammachadoemiliano vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil
AT mauromenzori vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil
AT yurialexandremeyer vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil
AT vitoreduardomolinajunior vehiculartrafficflowdetectionandmonitoringforimplementationofsmarttrafficlightacasestudyforroadintersectioninlimeirabrazil