Dev.to Security 🔐 Cybersecurity 👁 0 📖 3 min read

Why a Camera Behind Glass Loses Its Night Vision

Mounting a camera inside and pointing it out through a window is the easiest possible installation. It is also the one configuration where night vision reliably stops working, and no amount of settings will bring it back

Mounting a camera inside and pointing it out through a window is the easiest possible installation. It is also the one configuration where night vision reliably stops working, and no amount of settings will bring it back.

The window is a mirror for infrared

Infrared night vision works by flooding the scene with IR light from LEDs ringed around the lens, then imaging the reflection. It is active illumination, not passive gathering.

Those IR LEDs sit in air on the camera side of the glass. To the camera, that means every emitter has a direct, unobstructed reflection path off the inner surface of the pane straight back into the lens. The imager is not receiving the scene — it is receiving its own illuminator.

The output is a washed-out white or grey frame, sometimes with a recognisable reflection in the middle of it. It looks exactly like a broken camera. It is actually working perfectly; you have just built a mirror in front of it.

Note that this is completely invisible in daylight. IR-only reviews miss it entirely, which is why the problem routinely survives until the first night.

Also relevant: IR does not cross glass well

Even setting reflection aside, ordinary window glass is not a good transmitter in the near-IR band the camera uses. Tinted, laminated, and low-emissivity coatings are considerably worse. Double glazing with a coating can cut transmission enough that whatever does get through barely registers.

So even if you defeat the reflection by spacing the camera away and shielding the LEDs, you are trying to illuminate a scene through a material that absorbs much of your light. The result is dim and flat.

What fixes said to actually do, ranked

1. Put the camera outside, aimed through nothing. This is the only answer that fully works. An outdoor-rated housing with its own IR achieves proper night range because nothing separates illuminator from subject. Everything below is a compromise.

2. Disable on-board IR and light the scene from outside. Turn IR off on the camera, then install a standalone IR illuminator outside the glass, aimed at the area you care about. Now the outbound light and the return path both cross the glass once, and there is no reflection off the pane into your lens. This gets you usable footage from an indoor camera.

3. Very occasionally: press flat against the pane and black out the gap. Sometimes works by eliminating the air gap. Unreliable, depends heavily on the coating, and often still mediocre. Worth trying only if options 1 and 2 are impossible.

Two more considerations

Windows angle light, and auto-exposure makes it worse. A pane at anything other than perpendicular — which is the whole appeal of the "camera angled down through the window" request — introduces refraction and internal reflection variations across the frame. Fine during the day, unreliable at night.

Condensation and dust are now in your optical path. Any moisture or film on the glass sits between lens and subject. Wiper-free outdoor cameras get cleaned by rain. Your window does not.

The honest trade-off

If this is a rental, or you cannot drill, or the camera must come in at night, then indoor-through-glass with an external illuminator is a reasonable answer and a big improvement over nothing. It is worth going in knowing that daytime performance will be good, that you will need to buy and aim a separate IR source, and that the night result will not match a properly mounted outdoor unit.

I work on the manufacturing side of this category, so I would rather tell you the mirror problem up front than sell you a fourth camera that has the same issue.

Our security cameras with separate illuminator inputs cover option 2 cleanly, and the capability notes list the configurations we can build to when glass is unavoidable.

Xingliao Smart Home builds smart switches, video doorbells and security cameras on Tuya WiFi and Tuya ZigBee, and runs OEM/ODM programmes from Shenzhen. Factory and ODM capability.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.