Image Balabot is a Telegram bot for image processing.
- Accepts images from users and performs various image processing operations.
- Supports commands for blur, rotate, salt and pepper noise, contour detection, and concatenation of images.
- Clone this repository.
- Install the dependencies by running
pip install -r requirements.txt
. - Create a Bot in Telegram using
BotFather
bot on Telegram. For additional help to create Bot and Token visit link https://core.telegram.org/bots. - Obtain a Telegram Bot token from BotFather and replace
YOUR_BOT_TOKEN
. - Add your 'AuthToken' from Telegram to your server configuration, example ngrok
ngrok config add-authtoken <your-authtoken>
- Run the bot by executing
app.py
.
- Start the bot by sending the
/start
command. - Send an image to the bot and choose an operation by providing the appropriate caption. Options are
Blur, Salt and Pepper, Contour, Concat or Rotate
- Receive the processed image from the bot.
- For Help type in
help
.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Thank you !