The document describes a proposed system to control traffic signals using artificial intelligence based image processing. A live video feed from CCTV cameras at intersections would be used to calculate traffic density in real-time by detecting vehicles in each lane using the YOLO object detection algorithm. The number and type of detected vehicles would determine the duration of the green light for each lane, making the system adaptive to current traffic conditions. This is aimed to reduce delays, congestion, and air pollution compared to traditional static traffic light systems. A simulation was developed using Pygame to demonstrate the concept.