Full Head Extraction

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


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved for Extracting and preparing face sets for training a model in Faceswap.

If you have found a bug are having issues with the Extraction process not working, then you should post in the Extract Support forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
misam
Posts: 2
Joined: Fri Sep 20, 2019 8:30 pm
Has thanked: 2 times

Full Head Extraction

Post by misam »

Hi
Is it possible to extract whole head(face and hair)?

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: [Guide] Extraction - A Workflow

Post by torzdf »

It is possible, yes, but you'll need to go into the code and change things.

Faceswap assumes a fixed "coverage" (i.e. how much of the face is extracted), If this is changed at extract stage, then it will also need to be changed throughout the codebase.

My word is final

User avatar
ericpan0513
Posts: 23
Joined: Wed Jul 22, 2020 3:34 am
Has thanked: 6 times

Re: [Guide] Extraction - A Workflow

Post by ericpan0513 »

Hi, I would also like to ask about the whole head thing.
I was swapping faces between normal and hairless person, so the result looks really weird cuz the person suddenly gets a lot of hair and is hard to be recognized by his friends. But yet I didn't found the code you just said, can you give a hint where that "coverage" code may be? Thank you!

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: Full Head Extraction

Post by torzdf »

To clarify. There isn't 1 place this would need to be changed. It would need to be changed in many, many places in the codebase.

Full head is something we will look at for the future, but there is no easy solution at present.

My word is final

User avatar
FuorissimoX
Posts: 56
Joined: Mon Sep 21, 2020 6:49 am
Location: Italy
Has thanked: 10 times
Been thanked: 2 times

Re: Full Head Extraction

Post by FuorissimoX »

That would be great because completely changing your head would make the swap much more credible. Currently it is necessary to do this between people with similar hair and head size. It would be a new, much higher level. I am waiting this update with excitement :roll: :roll: :roll: :roll:

The problem is to recreate space outside head, especially for big hair head

User avatar
FuorissimoX
Posts: 56
Joined: Mon Sep 21, 2020 6:49 am
Location: Italy
Has thanked: 10 times
Been thanked: 2 times

Re: Full Head Extraction

Post by FuorissimoX »

I understand it is inelegant to talk about other programs on this forum, but a batch has just been added to replace the head on DFL. Is it your goal or are you not currently working on it?

Locked