Want to know about the Faceswap's Face Extraction process? Got tips, ideas or just want to learn about how it all works? Then this is the place for you
How difficult would it be to add some face filter more to manual tool? I'd really like to have "only 1 face", "2 faces" and "over 2 faces". Filters existing doesn't help the way I like because "has faces" shows every frame with faces despite the amount of them and "multiple faces" shows everything over 1. And when using filters it would be great to see actual framenumber, not only amount and current number of filtered frames.
Second question is where I can change that when extracting or converting videos preview would be off by default?
Last edited by jode on Fri Mar 01, 2024 10:39 am, edited 2 times in total.
How difficult would it be to add some face filter more to manual tool? I'd really like to have "only 1 face", "2 faces" and "over 2 faces". Filters existing doesn't help the way I like because "has faces" shows every frame with faces despite the amount of them and "multiple faces" shows everything over 1. And when using filters it would be great to see actual framenumber, not only amount and current number of filtered frames.
It would be possible, but I'm unlikely to have time to look at this any time soon (Manual tool is a complicated bit of code)....
The easiest way to achieve what you are looking for (outside of the manual tool) would be:
Use the alignments tool 'sort' job (This will re-index all of the faces in the alignments file from left to right, so you can output in a consistent order)
Use the alignments tool 'extract job (This will re-extract faces using the new indices)
Use the alignments tool 'multi-faces' job, which will sort your faces into folders based on how many faces there are in each frame
Move the faces you want to keep back into a single folde
Use the alignments tool 'remove-faces' job to remove the faces you don't want from the alignments file.
Second question is where I can change that when extracting or converting videos preview would be off by default?
IIRC ths can't be disabled by default. You have to uncheck the 'show preview' box under the preview window.
Honestly, I can't remember off the top of my head.... Again, a workaround, if you use Generate instead of Extract, you can copy the command, open up an Anaconda prompt do: