DiffusionToolkit icon indicating copy to clipboard operation
DiffusionToolkit copied to clipboard

[Enhancement] Auto tag and auto Keywords

Open danrazor opened this issue 1 year ago • 1 comments

Auto tag or auto KEYWORD or auto PROMPT from images (a white cat wearing a black hat on a red mat...)

search via auto tags ( all the pictures of cats, if it has auto tagged cat. it can tag NSFW already. there are lots of images without any metadata or pnginfo. this will help immensely.

cheers

danrazor avatar Jan 24 '24 19:01 danrazor

Autotag NSFW is based on predefined keywords being seen in the Prompt, not image content.

For example, you set a list of words you want to detect as NSFW, "NSFW, naked, nude, etc..." in teh settings, then when you scan images in, it checks the prompt for these keywords. If a match is found, the image is marked as NSFW.

An actual NSFW image without matching keywords can pass the filter and not be tagged.

I don't have plans to introduce third-party dependencies, and make users need to install python and CLIP to scan the images.

It's interesting, but not a priority right now.

RupertAvery avatar Jan 24 '24 20:01 RupertAvery