13 Star 117 Fork 56

livingbody / AutoCutout

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
livingbody 提交于 2020-05-29 00:43 . 增加ocr服务

PaddleHub web抠图服务

step1. 启动flask服务

python app.py

step2. 启动PaddleHub 一键部署deeplabv3p_xception65_humanseg服务

set CUDA_VISIBLE_DEVICES=0
hub serving start -m deeplabv3p_xception65_humanseg
hub serving start --config config.json

step3. 打开浏览器体验web 抠图服务

http://localhost

step4. 添加证件照更换背景服务

2020.5.5 2000
http://localhost/zhegnjianzhao
添加证件照功能

step5. 修复菜单自适应

2020.5.5 2000

step6. 依赖

1.PaddlePaddle(飞桨)
2.PaddleHub
3.Flask

step7. 增加颜值计算

step8. 增加OCR

flask bootstrap支持

pip install flask_bootstrap

flask blueprint

pip install flask-blueprint

cpu 模式下run

hub serving start --config cpuconfig.json
python app.py

gpu 模式下run

set CUDA_VISIBLE_DEVICES=0
hub serving start --config config.json
python app.py

Image text Image text Image text Image text7173758.png)

Python
1
https://gitee.com/livingbody/AutoCutout.git
git@gitee.com:livingbody/AutoCutout.git
livingbody
AutoCutout
AutoCutout
master

搜索帮助