# NSFW-flask-Python **Repository Path**: hsjjsh123/nsfw-flask-python ## Basic Information - **Project Name**: NSFW-flask-Python - **Description**: NSFW-flask-Python 基于雅虎的开源的色情图片检测,python实现,flask web 提供浏览器端的图片上传检测、输入url检测功能、项目包含本地文件检测。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2020-08-27 - **Last Updated**: 2024-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### - 修改自:https://github.com/yahoo/open_nsfw - python 3.6 - pip 安装requirements.txt - 步骤1:pip install pipreqs - 步骤(生成当前环境依赖)2:pip freeze>requirements.txt - 步骤3:pip install -r requirements.txt (建议阿里云镜像:pip install -i https://mirrors.aliyun.com/pypi/simple -r requirements.txt) [镜像仓库]临时使用: 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple 例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent,这样就会从清华这边的镜像去安装gevent库。 阿里源地址为: https://mirrors.aliyun.com/pypi/simple [镜像仓库]永久使用: linux下,修改 ~/.pip/pip.conf (没有就创建一个), 修改 index-url至tuna,内容如下: [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple windows下,直接在user目录中创建一个pip目录,如:C:\Users\xx\pip,新建文件pip.ini,内容如下 [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple eg[0~1之间,数值越小说明涉黄级别越高]: ![Image text](./pic.jpg) ![Image text](./pic1.jpg)