An intelligent cooperative visual sensor network for urban mobility