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

Add a confidence property #7

Open
ServerDeveloper9447 opened this issue Jun 27, 2024 · 2 comments
Open

Add a confidence property #7

ServerDeveloper9447 opened this issue Jun 27, 2024 · 2 comments

Comments

@ServerDeveloper9447
Copy link

Add the confidence property on determining if the image is nsfw

@d00ML0rDz
Copy link
Collaborator

You could probably just do this by totalling up the pornography, hentai and sexy scores and that would give you a decimal of how confident it thinks it's a NSFW image. Or you could do 1 - the neural score.

This is how the isNsfw function works, where if the neutral score is under 0.5, it returns true.

@ServerDeveloper9447
Copy link
Author

Maybe, give an option to change the checking score of isNsfw function?

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