The document presents a vision-based traffic surveillance system that uses digital image processing techniques. The system works to improve image quality by enhancing contrast and removing noise and blurring. It then uses edge detection and morphological processing to segment vehicles. The number of vehicles in each lane is counted and used to determine the time allotted for that lane, with accuracy of 90% compared to existing systems.