MagicEraser - Telegram Bot for removing objects from pictures
@MagicEraserBot - not working due to running cost
Just send two photos:
Bot can delete objects from your photos, just follow next steps:
1- Send original image
2- Edit that image by coloring what you want to remove(Telegram has an built-in function for this)
3- Send edited image
4- Wait for results
5- Use /new command to start again
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
TOKEN
— Telegram bot tokenMONGO
— URL of the mongo database
Also, please, consider looking at .env.sample
.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!
Inspired from: https://github.com/Borodutch/telegram-bot-starter
Big thanks to https://github.com/saic-mdal/lama for amazing DeepLearning models
Model and pre-processing code can be found here: https://github.com/Moldoteck/lama