Skip to content

Telegram bot that uses Style Transfer technique to modify images.

License

Notifications You must be signed in to change notification settings

gosiqueira/style-transfer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style Transfer Bot for Telegram

Neural Style Transfer (NST) refers to a class of software algorithms that manipulate digital images, or videos, in order to adopt the appearance or visual style of another image. NST algorithms are characterized by their use of deep neural networks for the sake of image transformation. Common uses for NST are the creation of artificial artwork from photographs, for example by transferring the appearance of famous paintings to user-supplied photographs. Several notable mobile apps use NST techniques for this purpose, including DeepArt and Prisma. This method has been used by artists and designers around the globe to develop new artwork based on existent style(s).

Requirements

  • Python
  • Matplotlib
  • NumPy
  • Pillow
  • python-dotenv
  • python-telegram-bot
  • PyTorch
  • TorchVision

We provide a requirements.txt file to setup properly a virtual environment with all the modules required in this repo.

Start Up

To start the bot just run the command:

python main.py

Also, for debug purposes a flag --debug can be used to enable debug level logging.

Use and contribution

This code is provided under MIT License.

We're always opened for issues and enhancement suggestions.

Releases

No releases published

Packages

No packages published

Languages