Free tool · Retouch
Glasses Glare Remover
Upload a photo where glasses lenses are showing window or flash glare. The tool detects the lens area via face landmarks, finds the bright spots, and inpaints them out — preserving eye visibility and lens transparency. Runs on our private worker; the original photo is never persisted.
Why glasses glare wrecks otherwise-good photos
Glasses lenses act like little mirrors. Indoor lighting, window light, or camera flash bouncing off a lens creates a bright opaque patch — usually right over the eye, which is exactly where you don't want it. The eye becomes invisible, the photo reads as "not making eye contact", and the subject looks distant or unfocused. It's the single most common avoidable problem in headshots of glasses-wearers.
Professional photographers prevent it by tilting the lens slightly downward, moving lights off-axis, or using polarising filters. After the fact, the only fix is targeted inpainting. This tool does that automatically.
How the inpaint actually works
The worker pipeline:
- Face detection. InsightFace returns the bounding box of the largest face plus 5 keypoints (left eye centre, right eye centre, nose, two mouth corners).
- Lens mask. Around each eye centre, the tool draws an elliptical mask sized roughly the proportions of a typical adult glasses lens (~55% of inter-eye distance horizontally, ~35% vertically).
- Glare detection. Inside the lens mask, find pixels with brightness above 235/255 (specular highlight threshold). Dilate the result by 3 px so the inpaint edge blends.
- Inpaint. OpenCV TELEA inpainting fills the glare-flagged pixels by averaging neighbouring non-flagged pixels. The algorithm respects the underlying eye / skin texture so the patch looks natural.
Total time: ~500 ms on our worker. If no bright pixels are found inside the lens area (no glare to fix), the photo is returned unchanged.
When this tool works and when it doesn't
Works on:
- Standard reflection-style glare from windows, lamps, or flashes
- Single bright spot per lens (the most common pattern)
- Tinted lenses where the tint colour is preserved
- Mid-resolution photos (1024×1024 to 4000×4000)
Doesn't work well on:
- Lenses where the glare covers > 40% of the lens area
- Mirrored lenses where the eye behind isn't visible at all
- Photos shot at extreme angles where the lens detection fails
- Tiny thumbnails (< 400 px) — there's not enough resolution for the inpaint to look natural
Related tools
Pair this with the Quality Checker to confirm the overall photo is otherwise usable. If the lighting that caused the glare also caused other problems (shadows, blown highlights), the photo may be beyond a single-pass fix — regenerate via the AI Studio instead.
Questions, answered
Glasses Glare Remover — frequently asked questions
What kind of glare can this tool remove?
Bright reflections from windows, ceiling lights, or flash bouncing off glasses lenses. The lens-area + brightness threshold detection handles standard 'specular highlight' glare cleanly. Heavy full-lens whitewash (extreme overexposure) is harder — the underlying eye data may be lost.
Will it keep my actual eye color?
Yes — only the bright glare patches are inpainted. The OpenCV TELEA inpainting algorithm samples neighbouring pixels (eye, skin) to fill the bright area, so the natural eye and lens texture around the glare is preserved.
What if my entire lens is washed out?
If the glare covers more than ~40% of the lens, the inpaint result will look unnatural because there's no neighbouring eye data to sample from. In those cases the photo is unsalvageable — re-shoot, or generate a fresh AI headshot in the Studio.
Does this work on transition lenses or tinted glasses?
Yes for tinted lenses (the tint stays). Less reliable on heavily mirrored lenses where the original eye behind the lens isn't visible at all.
Why doesn't Photoshop's remove-glare tool work as well?
It does — but Photoshop is paid + manual. This tool is automated end-to-end: detect eyes, find bright spots, inpaint, return. Sub-second. For a one-photo fix this is faster; for batch professional work, Photoshop is still the answer.
Are my photos stored?
No. The photo is processed in memory on our private worker and discarded immediately after the inpainted result is returned.
Keep going
Related free tools
Profile Picture Resizer
One tool, every platform. LinkedIn, X, Instagram, GitHub, Facebook, YouTube, TikTok, Pinterest.
Open toolLinkedIn Cover Photo Maker
Crop and export the 1584×396 LinkedIn banner or 1128×191 company cover in one click.
Open toolLinkedIn Photo Resizer
Crop and resize any photo to 400×400 and 800×800 for the LinkedIn circle.
Open toolWhen fixing isn't enough
Need a brand-new headshot instead?
Upload one selfie. Get three studio-quality AI headshots in about 60 seconds. Free, no signup, 100+ styles.
Open the AI Studio