Glasses are the frame a face swap cannot fake
Most face swap advice is about skin: tone, texture, shadow. Glasses break a different rule. They are two rigid objects held at a fixed distance from the eyes, and a swap only repaints the surface behind them. The frame s
Most face swap advice is about skin: tone, texture, shadow. Glasses break a different rule. They are two rigid objects held at a fixed distance from the eyes, and a swap only repaints the surface behind them. The frame stays exactly where the old face put it, so every mismatch shows up as a physical impossibility rather than a colour difference.
Here is what actually goes wrong, roughly in the order you notice it.
The eyes no longer sit behind the lenses
The lens centre is a fixed point. A swapped face arrives with its own interpupillary distance, and source photos almost never match the target's. If the new eyes land a few millimetres off, the iris sits under the rim or near the hinge instead of the optical centre. The brain reads that as "the glasses are on crooked", even when the frame has not moved a pixel.
Fix: pick a source face with a similar IPD, or nudge the swap until the irises sit where the original ones did. Matching the frame matters more than matching the face.
The rim cuts the eyebrow in the wrong place
Rims that cross the brow are the most obvious tell. In the original, the frame covers a specific part of the eyebrow and the hair emerges above it. After a swap, the new brow has a different height and thickness, so either a strip of skin appears between rim and brow, or the brow is swallowed. At 100% it looks like a slightly different person; at 200% it looks like a drawing error.
The temples and the ear hook
The arms run from the hinge to the ear, and their length is set by head width. Swap onto a narrower or wider face and the arms either float off the temple or sink into it. The ear hook is worse: it is anchored to an ear that may have moved. This is the single most common reason a swap "almost works" in a three-quarter view.
The lens reflection carries the old room
Real lenses reflect. If the reflection contains a face, a window, or a phone screen, that reflection is part of the original photo and the swap does not touch it. Two outcomes: the reflection shows the old face (rare but unmistakable), or it shows the room from the old eye position, which no longer lines up with the new one. On video this flickers as the model re-estimates the lens edge each frame.
The frame shadow is a second outline
A frame casts a thin shadow on the cheek and under the brow. The swap paints the new face over the skin but usually keeps the shadow, because it is low-contrast and the model treats it as shading. You end up with a frame shadow that no longer follows the frame's new apparent position. In soft light this is invisible; in hard light it is a second pair of glasses.
What to do about it
- Match IPD first, then pose. A ten-degree yaw difference moves the far rim across the far eye more than any skin detail does.
- Keep the head pose within roughly ten degrees of the source when the subject wears glasses. Beyond that, the far temple disappears behind the cheek and the model has to invent it.
- Do not swap between different frame styles. A rectangle rim over a round-rim photo gives the model two competing edges and it will average them into a blur.
- Check the lens edge at 200%. Rims are high-contrast curves; any wobble is visible at normal viewing size on a monitor.
- For video, expect rim flicker. Rims are thin, high-gradient features and per-frame edge estimates drift. If the output shimmers along the rim, reduce resolution before the swap rather than after.
None of this is about making the face more realistic. It is about keeping the props honest: the frame, the lens, and the shadow they cast are all older than the swap, and they will out the edit faster than skin tone ever will.
If you want to test this on your own photos, FaceSwapAI handles group photos up to ten faces and video up to ten minutes, HD and without a watermark. Try a glasses photo at 200% and look at the rim, not the face.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.