基于 FALdetector 项目构建的Web应用,支持在线监测图片是否经过PS并尝试恢复PS前的原始图片。
使用 play-with-docker 运行demo容器app,需要等待几秒钟部署完成后再去访问80端口
docker run --name faldetector -p 80:80 wangweimin/faldetector-app
Clone project
git clone --recursive https://github.com/wang0618/FALdetector-app.git
Install packages
- Install PyTorch (pytorch.org)
pip install -r FALdetector/requirements.txt
pip install -r requirements.txt
Download model weights
Run bash FALdetector/weights/download_weights.sh
Start app
Run python start_app.py