A method, carried out by a computer, for locating a sensor of a gaming console relative to a position of a display device in a gaming system, wherein the sensor is a camera, comprising: displaying an image on the display device; observing the displayed image using a portable device at a first location and generating first observation information associated with the observation at the first location; determining (304, 306) the first location of the portable device relative to the sensor of the game console using known size information of the portable device; estimating a first position and first orientation of the display device relative to the portable device from the first observation information and the first location; observing the displayed image using the portable device at a second location and generating second observation information associated with the observation at the second location; determining (318, 320) the second location of the portable device relative to the sensor of the game console; estimating a second position and second orientation of the display device relative to the portable device from the second observation information and the second location; determining the size of the display device using information gathered based on the estimating of the first position and orientation and the estimating of the second position and orientation; and determining the orientation of the display device relative to the sensor of the gaming console using information gathered during the estimating of the first position and orientation and the estimating of the second position and orientation, and using the determined first and second locations of the portable device relative to the sensor of the gaming console. displaying an image on the display device; observing the displayed image using a portable device at a first location and generating first observation information associated with the observation at the first location; determining (304, 306) the first location of the portable device relative to the sensor of the game console using known size information of the portable device; estimating a first position and first orientation of the display device relative to the portable device from the first observation information and the first location; observing the displayed image using the portable device at a second location and generating second observation information associated with the observation at the second location; determining (318, 320) the second location of the portable device relative to the sensor of the game console; estimating a second position and second orientation of the display device relative to the portable device from the second observation information and the second location; determining the size of the display device using information gathered based on the estimating of the first position and orientation and the estimating of the second position and orientation; and determining the orientation of the display device relative to the sensor of the gaming console using information gathered during the estimating of the first position and orientation and the estimating of the second position and orientation, and using the determined first and second locations of the portable device relative to the sensor of the gaming console.