Gourieff / sd-webui-reactor

Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD.Next, Cagliostro)
GNU Affero General Public License v3.0
2.55k stars 278 forks source link

[Feature]: Insightface More Powerful Version #515

Open drdancm opened 2 months ago

drdancm commented 2 months ago

Feature description

Their github page discusses the newest, most powerful version.

https://github.com/deepinsight/insightface?tab=readme-ov-file#readme

Could Reactor make use of these advances?

drdancm commented 2 months ago

How about Inspireface

https://github.com/HyperInspire/InspireFace

drdancm commented 2 months ago

FaceFusion has a reference feature, so that you can recognize/identify one of the faces in your target photo and make the FSwap only for that face. I don't know how well that works, but if it does , could this be done for Reactor?

drdancm commented 1 month ago

Here is another version face recognition method which might be really useful for Reactor:

https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch

If this sounds compatible, then perhaps it could be turned on or off by the user in order to save processing time when not needed.

drdancm commented 1 month ago

FaceFusion v 3 actually does a good job detecting Male, Female, Race, as well as having other improvements.

Gourieff commented 1 month ago

Yes, they did a great job, I'll take a look when I'll have free time for this PRs with improvements are always welcome (into the Evolve branch)