With the continuous process of urbanization in many cities around the globe, construction works are increasingly interrupting traffic flow in urban roads. At construction sites, usually traffic control personnel are employed to instruct the traffic flow at the times obstruction. Employing manual labour flagmen for traffic control is costly and can potentially expose the workers to safety hazards. Alternative attempts such as using remotely controlled signs or timers are not ideal; the former still requires human input and the latter does not optimize traffic control based on traffic density. To tackle this problem, we propose a fully automated traffic controller solution that uses visual sensors and machine vision technology. This system can replace the human traffic controllers during lane closures on the event of a construction. The implementation of this system eliminates the requirement for conventional traffic controllers, reducing the overall health and safety risks to workers and drivers. Our solution can result in substantial cost savings by replacing the traffic controllers. In addition, with manual labour, traffic control performance can be affected by weather conditions or fatigue from long hour shifts. Thus, our solution can lead to improved road safety and robustness of traffic flow as well.