Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 1 min read

A face swap keeps the collar and loses the shirt weave

Face swaps stop at the neck by convention. The jaw, the ears and the chin get checked; the collar underneath is treated as background. It is not: the shirt touches the swapped region, and its weave is the easiest proof t

Face swaps stop at the neck by convention. The jaw, the ears and the chin get checked; the collar underneath is treated as background. It is not: the shirt touches the swapped region, and its weave is the easiest proof that two different photos were combined.

The weave is a frequency, not a texture

A cotton oxford at 30cm has a visible grid of about 1mm. That grid continues across the collar, over the shoulder seam, and into the placket. A swap that regenerates the neck does not know where the grid was, so the fabric inside the mask comes back smoother, or with a grid at a slightly different angle.

Why it holds up under inspection

Nobody looks at a collar directly, but the eye reads the change in high-frequency detail as a lighting difference. The result is a portrait where the face looks slightly more "rendered" than the body, which is exactly what a low-resolution swap produces.

Two checks

First, pick one line of the weave and follow it from the shoulder into the collar. If it bends, kinks, or disappears, the mask edge is there. Second, compare noise: the fabric outside the mask should carry the same grain as the fabric inside. A denoised collar next to a grainy shoulder is the tell.

The fix

Match the grain before compositing: downscale the swapped neck to the body's effective resolution, then blend the mask along the collar edge rather than across it. Following the seam line hides the transition; crossing it exposes it.

The longer version of these edge checks, with the sampling steps, is on the faceswapai seam guides.

imageprocessing

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.