Extract+Sort by face (full images, not just face)

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.

Post Reply
User avatar
foo321
Posts: 7
Joined: Mon Oct 16, 2023 6:35 pm
Has thanked: 1 time

Extract+Sort by face (full images, not just face)

Post by foo321 »

Is it possible to sort a folder of images into buckets while keeping the full images?
I know I need to use the extraction tool in order to sort... but
The extraction tool will crop images to just the face.
I want to be able to sort by face and maintain the full image. Is that possible?

User avatar
torzdf
Posts: 2687
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 135 times
Been thanked: 628 times

Re: Extract+Sort by face (full images, not just face)

Post by torzdf »

It is not, no. The sorting mechanism uses data that is stored in the PNG Header of the image, which is only generated by Faceswap's extract process.

My word is final

User avatar
foo321
Posts: 7
Joined: Mon Oct 16, 2023 6:35 pm
Has thanked: 1 time

Re: Extract+Sort by face (full images, not just face)

Post by foo321 »

Thanks. It'd be a nice feature to have the extract process have an option to generate (or convert the existing image) to a png with the data header but as the same full image. That way FaceSwap could be used as a general tool for sorting images by face.

User avatar
jode
Posts: 24
Joined: Thu Apr 20, 2023 1:16 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Extract+Sort by face (full images, not just face)

Post by jode »

foo321 wrote: Wed Nov 15, 2023 1:58 pm

Thanks. It'd be a nice feature to have the extract process have an option to generate (or convert the existing image) to a png with the data header but as the same full image. That way FaceSwap could be used as a general tool for sorting images by face.

Extract your original images, sort them with faceswap and make script that copies original files with same filename without _0 to another bins.

Post Reply