Page 1 of 1

Feature request / Tip: How to improve face detecting

Posted: Sat Mar 23, 2024 6:23 am
by jode

With some videos faceswap doesn't detect faces if they are too far away (even with minimum settings), too blurry or in hard angle. It's very time consuming to fix these faces with manual tool. I've done some testing with face restoration scripts with good results: First I extract faces from original frames as normal. I always use video converted to pictures as source to avoid frame problems. Then I copy frames with no faces detected to another directory and enchance them with gpen face restoration (best so far). Then I use these enchanced frames to do extraction again with original alignments file to add new alignments to it. After that when my alignments file is fixed with manual tool I extract faces from original frames to create training set. Much less work with manual tool. This could be optional feature in faceswap to enchance frames with no faces found and detect them again.