Intelligent tracking pan tilt