Gourieff / comfyui-reactor-node

Fast and Simple Face Swap Extension Node for ComfyUI
GNU General Public License v3.0
1.54k stars 151 forks source link

is there a solution for this edges of the shallow depth agged? #451

Open jasoncow007 opened 2 weeks ago

jasoncow007 commented 2 weeks ago

Feature description

Screenshot_20241009_233340_com_hihonor_photos_SlotAlbumActivity_edit_362077206928179 I tried I tried tunning, but it failed

Gourieff commented 2 weeks ago

Just use it with ReActorMaskHelper node with the params as shown here: https://github.com/Gourieff/comfyui-reactor-node?tab=readme-ov-file#050-alpha1 You can use vit_b or vit_l SAM models (vit_l gives more occlusion)

jasoncow007 commented 2 weeks ago

Just use it with ReActorMaskHelper node with the params as shown here: https://github.com/Gourieff/comfyui-reactor-node?tab=readme-ov-file#050-alpha1 You can use vit_b or vit_l SAM models (vit_l gives more occlusion)

thanks for your guidance, I got another problem its about the Ghosting! Screenshot_20241011_151028_com_hihonor_photos_SlotAlbumActivity.jpg

Gourieff commented 6 days ago

Just use it with ReActorMaskHelper node with the params as shown here: https://github.com/Gourieff/comfyui-reactor-node?tab=readme-ov-file#050-alpha1 You can use vit_b or vit_l SAM models (vit_l gives more occlusion)

thanks for your guidance, I got another problem its about the Ghosting! Screenshot_20241011_151028_com_hihonor_photos_SlotAlbumActivity.jpg

To avoid ghosting you should play with ReActorMaskHelper parameters such as "morphology_operation" and "morphology_distance"