A mobile device configured to be used in a wireless communication network, the mobile device comprising: an image capture device configured to capture an image of an object at different device orientations; at least one sensor configured to measure a first orientation of the mobile device for each of the different device orientations; a calibration memory comprising a calibration table;and a processor communicatively coupled to the image capture device and the at least one sensor and configured, for each of the different device orientations, to: identify an object (120, 122) in an image captured by the image capture device; use a position of the mobile device to determine an actual location of the object (120, 122) relative to the mobile device; and use the actual location of the object (120, 122) relative to the mobile device and the image to determine a correction for the sensor, wherein to determine the correction, the processor is configured to determine a second orientation of the mobile device using the image and the actual location of the object (120, 122); determine the correction such that a difference between the first orientation and the second orientation will be reduced; and store the correction as a correction factor depending on the given device orientation in the calibration table. an image capture device configured to capture an image of an object at different device orientations; at least one sensor configured to measure a first orientation of the mobile device for each of the different device orientations; a calibration memory comprising a calibration table;and a processor communicatively coupled to the image capture device and the at least one sensor and configured, for each of the different device orientations, to: identify an object (120, 122) in an image captured by the image capture device; use a position of the mobile device to determine an actual location of the object (120, 122) relative to the mobile device; and use the actual location of the object (120, 122) relative to the mobile device and the image to determine a correction for the sensor, wherein to determine the correction, the processor is configured to determine a second orientation of the mobile device using the image and the actual location of the object (120, 122); determine the correction such that a difference between the first orientation and the second orientation will be reduced; and store the correction as a correction factor depending on the given device orientation in the calibration table. identify an object (120, 122) in an image captured by the image capture device; use a position of the mobile device to determine an actual location of the object (120, 122) relative to the mobile device; and use the actual location of the object (120, 122) relative to the mobile device and the image to determine a correction for the sensor, wherein to determine the correction, the processor is configured to determine a second orientation of the mobile device using the image and the actual location of the object (120, 122); determine the correction such that a difference between the first orientation and the second orientation will be reduced; and store the correction as a correction factor depending on the given device orientation in the calibration table.