Abstract
The primary purpose of conducting this research is to create, test, and apply a traffic light system based on traffic density that operates in real-time with red light violation detection and automatic Libyan license plate recognition. A group of infrared sensors positioned on each intersection roadway are used to measure traffic density. It uses radio frequency identification technology to prioritize emergency cars. The system detects red light violations using passive infrared sensors and then captures the violating vehicle image, then the image is handed to the automatic license plate recognition system which processes the image to localize the license plate region and recognize the digits and characters. The suggested traffic light system is designed and simulated using Verilog Hardware Description Language and tested on Cyclone IV GX field-programmable gate array. The automatic license plate recognition system is implemented using machine learning and image processing algorithms.