Functions
skin
skin(id) -> bool
@blocking
Not very accurate, but does not require an AI model.
- id
int<collection.IMAGE>
- The image to check for nudity using skin content.
bool
- If the skin content detector is over a threshold.
Provides basic functionality for filtering image content, carry-over from when SD was supported.
Source:
pkg/lua/lib/nsfw.go
|
Import: nsfw
skin(id) -> bool
@blocking
Not very accurate, but does not require an AI model.
int<collection.IMAGE>
- The image to check for nudity using skin content.bool
- If the skin content detector is over a threshold.