Minimizing Zoom/Black space

Extracting faces for training and converting
Forum rules
Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.
Post Reply
User avatar
TheNihilust
Posts: 2
Joined: Tue Mar 24, 2020 6:45 pm
Has thanked: 1 time

Minimizing Zoom/Black space

Post by TheNihilust » Tue Mar 24, 2020 6:52 pm

I’ve checked the forums and FAQS so I’m fairly confident I haven’t seen this answered: when extracting is there a setting that can minimize the number of faces detected that are zoomed out and filled with negative (black) space? What I mean is that it will take a fairly normal face, zoom out, and then fill the negative space with black. Any thoughts?

User avatar
deephomage
Posts: 23
Joined: Fri Jul 12, 2019 6:09 pm
Has thanked: 2 times
Been thanked: 5 times

Re: Minimizing Zoom/Black space

Post by deephomage » Tue Mar 24, 2020 8:25 pm

You can minimize the number of false-positive face detections by setting a minimum detection size in pixels using the slider in the extract tab in the GUI. (e.g. 100 or more). But use the minimum size option with caution and check your results carefully. If you're having issues with "zoomed-out" faces, use the sort tool. Choose sort by face and it's then a simple matter to eliminate unwanted faces from a scene, based upon the face groupings.

User avatar
torzdf
Posts: 548
Joined: Fri Jul 12, 2019 12:53 am
Answers: 86
Has thanked: 16 times
Been thanked: 120 times

Re: Minimizing Zoom/Black space

Post by torzdf » Wed Mar 25, 2020 2:58 pm

Not built in, No.

The black space is where the face goes out of frame. You could probably run a script which checks the amount of black in a face image and does something with any faces that are found, but this is unlikely ever to be added to Faceswap.
My word is final

Post Reply