The huge number of vehicles on the roadways is making congestion a significant problem. The line longitudinal vehicle waiting to be processed at the crossroads increases quickly, and the traditionally used traffic signals are not able to program it properly. Manual traffic monitoring may be an onerous job since a number of cameras are deployed over the network in traffic management centers. The proactive decision-making of human operators, which would decrease the effect of events and recurring road congestion, might contribute to the easing of the strain of automation.The traffic control frameworks in India are now needed as it is an open-loop control framework, without any input or detection mechanism. Inductive loops and sensors employed in existing technology used to detect the number of passing vehicles. The way traffic lights are adapted is highly inefficient and costly in this existing technology. The aim was to build a traffic control framework by introducing a system for detection ,which gives an input to the existing system (closed loop control system) in order to adapt to the changing traffic density patterns and to provide the controller with a crucial indication for ongoing activities. By this technique, the improvement of the signals on street is extended and thus saves time by preventing traffic congestion. This study proposes an algorithm for real-time traffic signal control, depending on the traffic flow. In reality, the features of competitive traffic flow at the signposted road crossing are used by computer vision and by machine learning. This is done by the latest, real-time object identification, based on convolutional Neural Networks network called You Look Once (YOLO). Traffic signal phases are then improved by data acquired in order to allow more vehicles to pass safely over minimal wait times, particularly the line long and the time of waiting per vehicle.This adjustable traffic signal timer is used to calculate traffic density utilizing YOLO object identification using live pictures of cameras in intervals and adjusts the signal timers appropriately, therefore decreasing the road traffic congestion, ensuring speedier transit for persons, and reducing fuel consumption. The traffic conditions will improve enormously at a relatively modest cost. Inductive loops are a viable but costly approach. This method thereby cuts expenses and outcomes quickly.