Skip to content

livingbody/paddlehubwebapp

Repository files navigation

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

step 9. 增加进程监控

https://github.com/livingbody/fangtanginuse

Image text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published