A simple telegram bot for Upscaling images.
This bot was created with the purpose of upscaling images via Telegram, in order to have higher resolution images for design or editing. The bot will ask users which kind of upscale to perform (x2, x3, x4) and it will wait for an input image. Once it receives an image, an openCV model (EDSR) for upscaling will be applied and the result image will be sent back. The bot is currently offline, but in the future it may be hosted and available.
- Clone this repository
- Add your API token in bot.py in row 19
- Run
docker build --tag bot .
- Run
docker run bot
- python >= 3.7 with the following modules:
- python-telegram-bot.
- opencv-contrib-python -(optional) nvidia GPU and CUDA toolkit
- Clone this repository
- Add your API token in bot.py in row 19
- Run
python bot.py
Here you can see the comparison between EDSR upscaling and Nearest Neighour or Cubic interpolation upscaling: