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

Detect whole image when generating img2img #9

Closed
czzs opened this issue Jan 15, 2024 · 3 comments
Closed

Detect whole image when generating img2img #9

czzs opened this issue Jan 15, 2024 · 3 comments

Comments

@czzs
Copy link

czzs commented Jan 15, 2024

I really like your extension with this level of customisation options!

My only problem is that when I inpaint an image with inpaint area = only masked option, the extension only scans the generated area instead of the whole image. Normally this should not be a huge problem, but it seams that this way Nudenet detects much more false positive areas than usually.

Eg. I inpainted an earring below an ear. The image contained the whole face and it was 100% SFW, but it only scanned the closeup ear, and the extension detected some adult content.

I tried to tweak with the options but I was not able to set up correctly.

Is there a way to detect the whole image for NSFW content when inpainting?

Thanks in advance

@w-e-w
Copy link
Owner

w-e-w commented Jan 16, 2024

thanks for noticing this issue

I have made a fix, but this fix also requires updates on the webui side so it won't work now
pending fix

we have to waite after

has been merged over at webui

and that is only for the dev branch, it will take longer for the changes to be updated to master

@czzs
Copy link
Author

czzs commented Jan 16, 2024

Wow, thanks a lot! Waiting for the merge

@w-e-w
Copy link
Owner

w-e-w commented Jan 21, 2024

note this is not a recommendation for you to switch to dev as it is generally regarded as less stable

@w-e-w w-e-w closed this as completed Jan 21, 2024
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