Skip to content

Why does a small rotation fix the swapped face in one frame but make it slide in the next?

Verify the rotation anchor. Even a correct angle moves facial landmarks along a different arc when the pivot is placed on the crop corner instead of the intended head anchor.

VIDEO SIGNAL AND TIMING DIAGNOSTICSAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Inspect the layers

Record the pivot and a landmark in the original image coordinate system. Compare a frame with nearly zero rotation and one near the largest head turn.

Hold translation fixed during the comparison. If both versions agree at zero rotation and diverge with angle, inspect the pivot before redoing the track.

Controlled edge example

A point 20 pixels from a wrong pivot moves by a chord of about 10.4 pixels when rotated through 30 degrees. A zero-angle check alone cannot expose this error.

Which part of the composite to repair

Move the transform anchor to the intended landmark and compensate the initial placement. If the residual varies independently of angle, investigate track slippage.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example