Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #26

Open
2blackbar opened this issue Feb 12, 2023 · 6 comments
Open

Suggestion #26

2blackbar opened this issue Feb 12, 2023 · 6 comments

Comments

@2blackbar
Copy link

2blackbar commented Feb 12, 2023

Works very well and i did that a lot manualy to improve weaker likeness of me but i wish we coud pause it and do other stuff so...

1 . Would be nice to be able to pause it , go back to previous file and run faceswap again on previous image if it did not came out that good.
2.Ability to have blur thats extending the mask so jawline also gets replaced and a bit of hairline too
3.Aligning faces especially rotated ones can help a lot cause it doesnt work too weel when face is rotated too much, worst best when face is in normal standing position without any rotation, so aligning it should help a lot.
4.When it detects multiple faces then swap each face in separate process instead of two faces at once cause it degrades likeness.

Thats pretty much it, also i would like to pause just to change settings and go on to next file in folder with adjusted denoise or cfg etc... it would be useful if i see that current settings dont work that great and i want to keep running it without starting over from firest file.

@nothings
Copy link
Collaborator

For item 4, detecting multiple faces, it already does that, unless the faces overlap.

@2blackbar
Copy link
Author

2blackbar commented Feb 12, 2023

im not sure about that, i can see quality with multiple faces a lot worse than with just one , i think it does one big area for both faces and swaps them
Yes it definitely does just one pass with multiple faces, the time is the same and should do just one, 2nd pass on 2nd face , 3rd pass on 3rd face etc but its not that big of a deal , i dont really want clones , maybe someone else needs that , i have it set for just one face but it doesnt work quite often and does other faces anyway

@nothings
Copy link
Collaborator

nothings commented Feb 13, 2023

The whole reason I use this is to get rid of clones. Do you have "single mask per image" checked? It's off by default, but if you turn it on it does them all at once. Turn on "show tips" at the bottom for more info like this.

What do you mean "I have it set for just one face"? There's no setting for that.

@nothings
Copy link
Collaborator

Haha, I just read over my comment. "Single mask per image" may not be very clear if you don't read the tips, it means "process all masks in one pass".

@nothings
Copy link
Collaborator

nothings commented Feb 13, 2023

So:

  • Item 4 discussed above
  • Item 3 seems like a nice idea, I've made it a separate proposal, rotate faces to vertical when running SD #27.
  • Item 2: variants of this--doing some kind of expanding the face to more of the head, all of the head, all of the hair--have been discussed on the discussion boards. I want to look into doing something like this, but I only have so much time to put into this. (Personally I'd like to fix cloned hair styles, not just cloned faces.) At the same time, kex0 has some other ideas for swapping more than just faces that he may or may not be working on currently.
  • Item 1 I'll let kex0 give a real response, but my interpretation is basically, as long as this is a Batch File Swap, I think it's really meant to be more of a "walk away and let it run" (or "let it run overnight") thing, rather than something interactive. I don't actually know how hard something like that would be, as I don't know the details of how extensions interact with the UI while running, but no other scripts I use support anything like that, so it may be hard to do in the Auto1111 web framework. But maybe not, I don't actually know.

@2blackbar
Copy link
Author

2blackbar commented Feb 13, 2023

yeh i just run with a batch of 2 or 3 so at least one might be good, the rotation thing would help and yes single mask per img i thought its just single face being detected , id scrap that option completely, there is only downside to using single mask for all faces , likeness is always lost when you do that
Whats the order of the images when it processess them? i see its not alphabetically, the thing is when i swap faces on 40 images from 200 , then i want to change settings, so i can delete or move 40 already processed ones and start from where i left off. Maybe theres some other way to make it easier?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants