Page 1 of 1

Strange shift in face alignment

Posted: Fri Feb 28, 2025 7:53 pm
by lighting

After extraction process, when i try manually tune extraction result i find out that detected face somehow shifted from its correct position (example in attachment fie). Because of this i must fix manually literally every frame, and this is very difficult.
Extraction settings:
Detector: s3fd
Aligner: Fan
Normalization: Clahe
Re Feed: 7

I have AMD RX580 8Gb, Win 10, and old version of faceswap (which only support AMD graphyc)
https://github.com/deepfakes/faceswap/r ... tag/v2.2.0


Re: Strange shift in face alignment

Posted: Mon May 19, 2025 5:52 pm
by torzdf

This, more likely, is an issue with the alignment tracking being out by 1 frame. It happens sometimes (and with some videos).

Sometimes closing and re-opening the manual tool will remedy this.

If the issue persists, try changing your video to an image sequence (ie, use something like ffmpeg or the EFFMPEG tool in faceswap) and then running extract on the image sequence.


Re: Strange shift in face alignment

Posted: Sat May 31, 2025 1:52 am
by DeliciousCaramels

I've found that certain videos appear to extract properly but I cannot run the alignment manual tool on them (changing an alignment manually on one face applies to the previous frame) and as you mention the actual alignments are out when extracted and checked in some frames.

This seems to correlate with the file itself not having any details in terms of its framerate and compression in the file properties. I have solved this from happening by simply re-encoding the file, I use capcut, which is free and doesn't add a watermark.