摘要 |
PROBLEM TO BE SOLVED: To provide an electronic apparatus for quickly and accurately detecting the abnormality of a human detection sensor, a method for controlling the electronic apparatus, and a program.SOLUTION: An image forming apparatus 100 includes user detection means for detecting a user existing in a previously set range, operation means operated by the user, and contact detection means for detecting that the user comes into contact with the operation means by the operation of the user, counts the number of contacts detected by the contact detection means, and reports the abnormality of the user detection means, when the number of times counted is a predetermined number of times or more, in such a state that the user is not detected by the user detection means. |