Smart traffic lights switching and traffic density calculation using video processing | Synapse