Motorists will face fines if they drive in a bus lane in a town centre after a new traffic camera was installed by a council.