Every face-swap tool has the same demo problem: the result looks fine until it doesn't, and the difference is hard to put into words. Eyes are a bad judge. A small set of image metrics catches the same failures more consistently, and none of them needs a model.
Below are three measurements you can run on the output of any swap, plus what each one actually detects.
1. Variance of Laplacian, per region
The variance of the Laplacian is the standard blur score: convolve the greyscale image with a Laplacian kernel and take the variance. High variance means lots of edge energy.
Run it on the whole face and you learn almost nothing, because a swap is sharp where the original was sharp. Run it on the face and on the neck separately, and the ratio is the signal. In a real photo the two are within about 20% of each other. A swap that has replaced the skin texture typically drops the face score by a third while the neck is untouched.
import cv2 , numpy as np
def sharpness ( img ) : return cv2 .…