Patent ID: 8111252

Claim:
A method for controlling a determining apparatus including first pixels for displaying a first image, second pixels for displaying a second image, a light shielding member that allows the first image to be viewed from a first direction and blocks the first image from a second direction, and allows the second image to be viewed from the second direction and blocks the second image from the first direction, a first sensor provided for at least one of the first pixels and detecting the quantity of light coming from the first direction, and a second sensor provided for at least one of the second pixels and detecting the quantity of light coming from the second direction, wherein the light shielding member allows light to approach the first sensor from the first direction and blocks light from approaching the first sensor from the second direction, and wherein the light shielding member allows light to approach the second sensor from the second direction and blocks light from approaching the second sensor from the first direction, the method comprising: obtaining a first detection result of the first sensor and a second detection result of the second sensor during a first time; obtaining a third detection result of the first sensor and a fourth detection result of the second sensor during a second time after the first time; obtaining a first result by comparing the third detection result with the first detection result; obtaining a second result by comparing the fourth detection result with the second detection result; and determining whether an object is approaching from the first direction or from the second direction based on the first result and the second result.