Skip to content

Constanter/Style_transfer_Bot

Repository files navigation

Gender face swap ans style transfer Telegram Bot

Bot is allowing people to do a gender face swap on their photos, and the results are pretty hilarious or Use Style Transfer to bring real-time, Monet styles to your photo

Table of contents

General info

This is Telegram Bot project.Bot can:

  • make style transfer image to Monet
  • swap gender on photo
  • make style transfer from one image to another image

Technologies

  • heroku
  • git-lfs - version 2.13.2
  • Python - version 3.7
  • aiogram - version 2.9.2
  • Pillow - version 7.1.2
  • numpy - version 1.19.0
  • pytorch.torch - version 1.5
  • pytorch.torchvision - version 0.6.1

Features

List of features ready and TODOs for future development

  • Bot token
  • User Id
  • Port

Examples of use

    1. Swap gender on photo
  • swap man face to woman:
  • original Original_man
  • fake Man2women

or swap woman face to man:

  • original Original_woman

  • fake Women2man

  • 2)Make style transfer image to Monet

  • original Original_photo

  • fake Monet_style_photo

  • 3)Make style transfer from one image to another image

  • content_photo

content_photo

  • style_image

style_image

  • result

result

Status

Bot was deployed on Heroku. Due to server limitations of 500 MB, I had to degrade the quality of the output images Project is: in progress, (finished)

Inspiration

Project inspired by:

Contact

  • Created by @VasiliyTekhin - gmail
  • @Konstanter - telegram
  • Feel free to contact me!

Releases

No releases published

Packages

No packages published

Languages