Lens cap and method for automatic recognition of the same
View Patent ↗A visual sensor having a light sensitive element and a processor, the processor being adapted to recognize whether a cap is on or off the light sensitive element by recognizing a unique identification pattern coded into the light sensitive element.
1. A visual sensor adapted to be capped with a cap including at least one light-transmitting part comprising an opening, in the cap, the visual sensor comprising:
a light sensitive element for outputting a pixel map; and
a processor for:
determining whether the pixel map is the accordance with a predetermined pattern by obtaining a first characteristic of a preliminary pixel map, obtaining a second characteristic of the pixel map output by the light sensitive element, and comparing the first characteristic to the second characteristic;
subject to the pixel map corresponding to the predetermined pattern, determining that the visual sensor is capped by the cap, and
subject to the pixel map not corresponding to the predetermined pattern, determining that the visual sensor is not capped by the cap, and
taking an action, dependent on whether the visual sensor is capped or not capped, in accordance with a setting.
2. The visual sensor of claim 1 , wherein an area of the opening is less than 20% of an area of the cap.
3. The visual sensor of claim 1 , wherein the at least one light-transmitting part has an area smaller than an area of the cap.
4. The visual sensor of claim 1 , wherein the at least one light-transmitting part has an area smaller than half an area of the cap.
5. The visual sensor of claim 1 wherein the at least one light-transmitting part comprises at least two distinct areas having different transparency values.
6. The visual sensor of claim 1 , wherein the action comprises issuing an alert to a user of the visual sensor.
7. A visual sensor adapted to be capped with a cap including at least one light-transmitting part comprising a section transparent only to a specific wavelength range, the visual sensor comprising:
a light sensitive element comprising pixels sensitive only to the specific wavelength range and pixels sensitive to a different wavelength range, the light sensitive element outputting a first pixel map from the pixels sensitive only to the specific wavelength range and a second pixel map from the pixels sensitive to the different wavelength range; and
a processor for:
subject to the first pixel map corresponding to the second pixel map, determining that the visual sensor is not capped by the cap,
subject to the pixel map corresponding to the predetermined pattern, determining that the visual sensor is capped by the cap, and
taking an action, dependent on whether the visual sensor is capped or not capped, in accordance with a setting.
8. A visual sensor adapted to be capped with a cap comprising a radiating element located on a side of the cap facing a lens of the visual sensor when the sensing unit is capped, the visual sensor comprising:
a light sensitive element for outputting a pixel map; and
a processor for;
determining whether the pixel map is in accordance with a predetermined pattern by obtaining a first characteristic of a preliminary pixel map, obtaining a second characteristic of the pixel map output by the light sensitive element, and comparing the first characteristic to the second characteristic,
subject to the pixel map corresponding to the predetermined pattern, determining that the visual sensor is capped by the cap,
subject to the pixel map not corresponding to the predetermined pattern, determining that the visual sensor is not capped by the cap, and
taking an action, dependent on whether the cap is on or off, in accordance with a setting.
9. The visual sensor of claim 8 , wherein the radiating element is an optical radiant element.
10. The visual sensor of claim 9 wherein the radiating element is a Light Emitting Diode (LED) or phosphorescent material.
11. The visual sensor of claim 8 , wherein the radiating element is an infrared radiant element.
12. The visual sensor of claim 8 , further comprising a power source for providing power to the radiating element.
13. The visual sensor of claim 8 , further comprising wiring for providing power to the radiating element from the visual sensor when the cap is on.
14. The visual sensor of claim 8 , wherein the action comprises issuing an alert to a user of the visual sensor.
15. A visual sensor adapted to be capped with a cap comprising a radiating element configured to radiate in a specific wavelength range, the radiating element located on a side of the cap facing a lens of the visual sensor when the sensing unit is capped, the visual sensor comprising:
a light sensitive element comprising pixels sensitive only to the specific wavelength range and pixels sensitive to a different wavelength range, the light sensitive element outputting a first pixel map from the pixels sensitive only to the specific wavelength range and a second pixel map from the pixels sensitive to the different wavelength range; and
a processor for:
subject to the first pixel map corresponding to the second pixel map, determining that the visual sensor is not capped by the cap,
subject to the first pixel map not corresponding to the second pixel map, determining that the visual sensor is capped by the cap, and
taking an action, dependent on whether the visual sensor is capped or not capped, in accordance with a setting.
16. A visual sensor adapted to be capped with a cap comprising a reflector located on a side of the cap facing a lens of a visual sensor when the cap is on, the visual sensor comprising:
a radiating element configured to radiate in a predetermined wavelength range;
a light sensitive element comprising pixels sensitive only to the specific wavelength range and pixels sensitive to a different wavelength range, the light sensitive element outputting a first pixel map from the pixels sensitive only to the specific wavelength range and a second pixel map from the pixels sensitive to the different wavelength range; and
a processor for:
subject to the first pixel map corresponding to the second pixel map, determining that the visual sensor is not capped by the cap,
subject to the first pixel map not corresponding to the second pixel map, determining that the visual sensor is capped by the cap, and
taking an action, dependent on whether the visual sensor is capped or not capped, in accordance with a setting.