Skip to content

KudoKhang/AR-filter-cpm

Repository files navigation

AR Filter based-on PRNet

➡️ Try it in Google Colab Open in Colab


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)


Docker

sh ./run.sh
docker exec -it <CONTAINER-ID> bash
python main.py

Todo-list:

  • Gradio -> Hugging Face
  • Dockerfile
  • Set opacity

About

AR filter based-on PRNet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages