This project will control the duration of the traffic signals. A camera will capture the image of the traffic and the density of that traffic will be estimated by detecting vehicles and assigning required weights to them..grater the traffic density grater will be the duration of the signal.