The document proposes a smart traffic light control system using artificial intelligence. It uses a simulation in pygame to demonstrate traffic junctions and detect vehicles in real-time using YOLO object detection. Vehicle density is calculated and used by a signal switching algorithm to optimize green light times and reduce traffic congestion. The system classifies vehicles and adapts signal timing based on current traffic conditions like density. This allows traffic to clear faster than a static system, lowering delays, congestion, fuel use, and pollution.