Yif-Yang / hyperplane-google-winter-camp

Repository from Github https://github.comYif-Yang/hyperplane-google-winter-campRepository from Github https://github.comYif-Yang/hyperplane-google-winter-camp

hyperplane-google-winter-camp

Space Travel

  • There are times that you want to travel to some specific scenic spots but is drawn back by the long distance and high expense.
  • You may also want to know what your self image looks like in anime style.
  • Then this Space Travel program can help realize your dream! All you need to do is updating a selfie and choosing the specific place you want to go.

avatar

Instructions

This repo contains three deep models, which do the human face transfer, background transfer and image matting respectively.

Please run the app.py in the web_server folder to start the program, and try the demo by visiting: http://localhost:8181

All dependency is contained in the requirements.yml file. Just enjoy it !!!

Demos

Here are some demo images and demo videos.


  • Background Style Transfer (Artist Style and Anime Style is shown below.)

ava


  • Human Matting and Face Style Translation

ava


  • Foreground and Background Fusion and Final Result.

ava


  • Html5 Demo & Real Time Human Matting and Background Style Transfer in Video Data.

(Click the pictures below to view the demo video)

Html5 Demo Real Time Matting and Background Transfer

Reference

[1] Kim J, Kim M, Kang H, et al. U-GAT-IT

[2] Li Y, Fang C, Yang J, et al. Universal style transfer via feature transforms

[3] Zhu, Bingke et al. “Fast Deep Matting for Portrait Animation on Mobile Phone.”

[4] https://github.com/taki0112/UGATIT

[5] https://github.com/Yijunmaverick/UniversalStyleTransfer

[6] https://github.com/ofirlevy/FastMattingPortrait

About


Languages

Language:Python 66.8%Language:JavaScript 18.7%Language:HTML 7.7%Language:CSS 6.5%Language:Shell 0.4%