Score
0
Watch 6 Star 34 Fork 12

livingbody / AutoCutoutPython

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
使用飞桨(PaddlePaddle)的PaddleHub,提供自动抠图服务 使用者只需要打开网页上传图片即可使用 spread retract

Clone or download
Loading...
README.md

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)

Comments ( 0 )

Sign in for post a comment

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

Help Search