Page 1 of 1

Minimizing Zoom/Black space

Posted: Tue Mar 24, 2020 6:52 pm
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?

Re: Minimizing Zoom/Black space

Posted: Tue Mar 24, 2020 8:25 pm
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.

Re: Minimizing Zoom/Black space

Posted: Wed Mar 25, 2020 2:58 pm
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.