Traffic congestion is becoming one of the critical issues by posing significant hurdles to critical vehicles, to nature by
posing significant pollution. Not only can traffic congestion delay the movement of essential vehicles, but it can also extend
travel times, contribute to driver stress, and increase fuel consumption and pollution. Megacities struggle the most from traffic
congestion, despite the fact that they seem to be everywhere. Because of this, real-time road traffic density calculations are
necessary for better signal control and traffic management. The traffic controller is one of the key elements influencing traffic
flow.