git clone https://github.com/KudoKhang/AR-filter-cpm
cd AR-filter-cpm
sh ./build.sh
python main.py --input "tests/JianzhuGuo.jpg" --style "tests/uv_face_sticker.png"
IN THRER:
--input: A person image
--style: A square mask
Result:Guide: Create mask based-on face UV_texture of PRNet (using https://pixlr.com or photoshop)
sh ./run.sh
docker exec -it <CONTAINER-ID> bash
python main.py
- Gradio -> Hugging Face
- Dockerfile
- Set opacity