In more enhanced traffic light control, the road traffic in different directions is monitored by sensors and signals. The proposed method presents traffic light control that adapts to traffic density. There are huge number of traffic signaling variables and, therefore, the need for large computing efforts. Thus, the use of electronic sensors is not efficient because it has a high tendency to be affected by noise and it is expensive. The objective of this research project is to develop an integrated traffic light control system based on image processing to calculate the density of the vehicle on the road and set the timer based on the density. Hence, calculating time allocation for each lane based on density. The proposed solution develops a system for controlling the traffic light by image processing using the Threshold Edge Detection (TED) image matching method to identify the density of the traffic. The system will detect vehicles through images, which can then be used for calculating the density of vehicles on road. Cameras mounted on traffic lights will capture image sequences, which are analyzed using digital image processing to detect vehicles. According to road traffic conditions, traffic light timer is adjusted and controlled. Pixel differences are determined (via Pixel-based matching) between the reference image and real time image which is then converted into percentages and based on these percentage difference, different timings can be allotted for controlling the traffic. After TED procedure, both reference and real time images are matched, and traffic lights can be controlled based on difference of percentage in matching.TED Technique is used because it gives better results and higher accuracy as compared to other edge detection techniques when used for detecting vehicles density. It is less sensitive to noise, overcomes the streaking problem, better localization, and accurate edges detection compared to others. Besides, it is cost effective and less prone to error. The proposed solution has a direct effect on reducing the traffic congestion and avoiding the time being wasted by a green light on an empty road. It also helps in directing traffic on different routes without excessive congestion. Hence, provides travel time improvement leading to better driving experience for the community.