Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed photographing overspeeding vehicles