Continuous localization and mapping of a pan–tilt–zoom camera for wide area tracking