feat: 色情图片识别(NudeNet);明暗档位改为5档(20%~100%)

This commit is contained in:
2025-06-02 21:04:38 +08:00
parent ea88f3e766
commit a914b4be74
13 changed files with 450 additions and 25 deletions
+7
View File
@@ -11,3 +11,10 @@ ffmpeg.path=
organize.rotateImages=true
# 探测/认类型/移动阶段的并发 worker 数(默认 4;0 表示用满全部 CPU 核数)
organize.workers=4
# 色情图片识别(需本机安装 python 与 nudenet:pip install nudenet):
# true=开启,判为色情的图片移入「图片_敏感_*」目录(明暗子目录照常);false=关闭(默认)
nsfw.enabled=false
# python 可执行文件路径;留空自动在 PATH 里找 python/python3/py
nsfw.python=
# 判定阈值 0~1,敏感部位检测分高于此才算色情(默认 0.5)
nsfw.threshold=0.5