Smart signal control by detecting traffic intensity using IR Sensors