This app will definitely make the 'Guardian always asshole' happy.
为响应国家号召,创造文明社会,将影像胸部及以下部分彻底截掉。
API Key
and API Secret
into guardian.cfg
(see below)# SERVER = "http://api.cn.faceplusplus.com/"
.sudo pip install -r requirements.txt
.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>"
API Key
和API Secret
进guardian.cfg
(见下方)# SERVER = "http://api.cn.faceplusplus.com/"
的注释以使用位于中国大陆的Face++的服务器(阿里云)sudo pip install -r requirements.txt
以安装所依赖的库python guardian.py test/*
或使用你自己的图片python guardian.py your_photo.jpg
来测试API_KEY = "<your face++ api key here>"
API_SECRET = "<your face++ api secret here>"
See details in guardian.py
and guardian.cfg
(LAZY am I ╮(╯▽╰)╭).
请读代码guardian.py
与guardian.cfg
(懒得写了 ╮(╯▽╰)╭)
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型