NSFW

Provides basic functionality for filtering image content, carry-over from when SD was supported.


Source: pkg/lua/lib/nsfw.go | Import: nsfw

Functions


skin

skin(id) -> bool

@blocking

Not very accurate, but does not require an AI model.

Arguments

  • id int<collection.IMAGE> - The image to check for nudity using skin content.
Return Values

  • bool - If the skin content detector is over a threshold.