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.
User avatar
Posts: 2
Joined: Tue Mar 24, 2020 6:45 pm
Has thanked: 1 time

Minimizing Zoom/Black space

Post by TheNihilust »

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
Posts: 26
Joined: Fri Jul 12, 2019 6:09 pm
Answers: 1
Has thanked: 2 times
Been thanked: 6 times

Re: Minimizing Zoom/Black space

Post by deephomage »

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
Posts: 633
Joined: Fri Jul 12, 2019 12:53 am
Answers: 92
Has thanked: 17 times
Been thanked: 127 times

Re: Minimizing Zoom/Black space

Post by torzdf »

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