Skip to content

Did the background stay sharp while the replacement lost facial detail?

Use an edge-strength view on a copy and compare features with similar contrast and depth. Strong transitions reflect texture and sharpening as well as true detail.

PLAN AN EXTERNAL VIDEO REPAIRAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Set up the edit

Choose a still eye, nearby fabric and a piece of furniture. Look at the normal image and its Sobel response together. Repeat during motion to see which edges soften first.

shell
ffmpeg -i duo-result-silent.mp4 -filter_complex "[0:v:0]sobel=scale=1[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

A still jacket seam staying defined when a still eye has few comparable edges warrants a check of the source portrait and the native output. A fast turn introduces a different motion-blur condition.

With the returned living-room dance, the local FFmpeg run decoded 158 video frames at 864 × 480 pixels. Use the linked file to reproduce the example. This was an offline edit of the existing public clip.

If the first pass falls short

Do not turn edge magnitude into an identity score. Choose a more comparable region if the original features differ greatly in illumination, contrast or focus.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example