1 Star 2 Fork 0

啊啊啊啊啊豆豆 / Guardian

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Guardian 光腚·总菊

Introduction 介绍

This app will definitely make the 'Guardian always asshole' happy.

为响应国家号召,创造文明社会,将影像胸部及以下部分彻底截掉。

Demonstration 示例

1.png

2.png

3.png

How To 用法

Simple Usage

  1. Sign up or use your existing Face++ account.
  2. Create a Face++ App.
  3. Copy the API Key and API Secret into guardian.cfg (see below)
  4. You can switch to use the server in China mainland (Aliyun) by uncommenting # SERVER = "http://api.cn.faceplusplus.com/".
  5. Install the requirements by simply run sudo pip install -r requirements.txt.
  6. Run python guardian.py test/* to test or run with your own images python guardian.py your_image.jpg.
API_KEY = "<your face++ api key here>"
API_SECRET = "<your face++ api secret here>"

简单用法

  1. 注册登录 Face++ 账号
  2. 创建一个 Face++ App
  3. 拷贝API KeyAPI Secretguardian.cfg(见下方)
  4. 你可以去掉# SERVER = "http://api.cn.faceplusplus.com/"的注释以使用位于中国大陆的Face++的服务器(阿里云)
  5. 运行sudo pip install -r requirements.txt以安装所依赖的库
  6. 运行python guardian.py test/*或使用你自己的图片python guardian.py your_photo.jpg来测试
API_KEY = "<your face++ api key here>"
API_SECRET = "<your face++ api secret here>"

Advanced usage

See details in guardian.py and guardian.cfg (LAZY am I ╮(╯▽╰)╭).

进阶用法

请读代码guardian.pyguardian.cfg(懒得写了 ╮(╯▽╰)╭)

Acknowledgements 鸣谢

Face++ inside

License

The MIT License (MIT)

Copyright (c) 2015 James Liu <j@jamesliu.info>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The MIT License (MIT) Copyright (c) 2015 James Liu <j@jamesliu.info> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Make the 'Guardian always asshole' high 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/jserovo/Guardian.git
git@gitee.com:jserovo/Guardian.git
jserovo
Guardian
Guardian
master

搜索帮助