This document describes a real-time traffic control system using image processing. The system uses a camera to capture images of a four-road intersection. The images are processed to detect vehicles and calculate the area covered to determine traffic density. Based on density, different times are assigned to the traffic lights of each road. When the time for a road elapses, its light turns green while the camera moves to the next road. This allows lights to change adaptively based on real-time traffic conditions compared to traditional fixed timing systems. The approach aims to reduce congestion by allocating more time to busier roads.