摘要 |
A photosensor includes first and second light receiving elements which detect light, and a light source which is disposed behind the first and second light receiving elements and which emits light containing a predetermined color component. A first filter is disposed in front of the first light receiving element and transmits light of the predetermined color component, and a second filter is disposed in front of the second light receiving element and shuts off the light of the predetermined color component and transmits a color component other than the predetermined color component. A judging section judges whether or not a detection target is present in front of the first and second filters in accordance with outputs from the first and second light receiving elements.
|