
Github 开源:https://github.com/helloxz/nsfw
测试 API:https://nsfw.demo.mba/check?url=https://www.imgurl.org/static/images/logo.png
只需要把 URL 参数值替换为任意可访问的图片地址即可识别,个人感觉识别率比 Open NSFW 更强一些,而且速度也不错。(识别速度非 http 下载和请求速度)
介绍
基于 AdamCodd/vit-base-nsfw-detector/ 实现,并封装为 HTTP API 调用,可用于识别网络色情图像( nsfw 识别),适合纯 CPU 机器推理,轻量级实现方案。
特点
Docker 部署
docker run -d \
--name nsfw \
-p 6086:6086 \
--restart always \
helloz/nsfw
完整的说明可以访问 Github 查看: https://github.com/helloxz/nsfw


