用蟒蛇检测裸体。裸.js到python的端口。
nudep的Python项目详细描述
关于
用Python检测裸体。nude.js到python的端口。
安装
来自PIP:
$ pip install --upgrade nudepy
从简易安装:
$ easy_install -ZU nudepy
要求
- Python2.7+,Python3.3+
- 赛顿
- 枕头
用法
通过命令行
$ nudepy IMAGE_FILE
通过Python模块
importnudefromnudeimportNudeprint(nude.is_nude('./nude.rb/spec/images/damita.jpg'))n=Nude('./nude.rb/spec/images/damita.jpg')n.parse()print("damita :",n.result,n.inspect())
见examples。