<span>The traffic in urban areas is primarily controlled by traffic lights, contributing to the excessive, if not properly installed, long waiting times for vehicles. The condition is compounded by the increasing number of road accidents involving pedestrians in cities across the world. Thus, this work presents an integrated tripartite module for an intelligent traffic light system. This system has enough ingredients for success that can solve the above challenges. The proposed system has three modules: the intelligent visual monitoring module, intelligent traffic light control module, and the intelligent recommendation module for emergency vehicles. The monitor module is a visual module capable of identifying the conditions of traffic in the streets. The intelligent traffic light control module configures many intersections in a city to improve the flow of vehicles. Finally, the intelligent recommendation module for emergency vehicles offers an optimal path for emergency vehicles. The evaluation of the proposed system has been carried out in Al-Sader city/Bagdad/Iraq. The intelligent recommendation module for the emergency vehicles module shows that the optimization rate average for the optimal path was in range 67.13% to 92%, where the intelligent traffic light control module shows that the optimization ratio was in range 86% to 91.8%.</span>