from you means a lot to us!
Telegram bot to extract text from image
Deploy to Heroku
- Tap on above button and fill
- Then tap “Deploy App” below it. Wait till deploying is complete (will take atmost 2 minutes).
- After deploying is complete, tap on “Manage App”
- Check the logs to see if your bot is ready!
Clone the repo
git clone https://github.com/StarkBotsIndustries/OCRBot
Now head to this page and install Tesseract installer.
Use it to install Tesseract and copy the PATH to where it is installed.
Now uncomment out this line. Fill the inverted commas with your own PATH.
Config.pyand fill the needed variables
Enter the directory
Install all requirements using pip.
pip3 install -r requirements.txt
Run the file
API_ID– Get this from my.telegram.org
API_HASH– Get this from my.telegram.org
BOT_TOKEN– Get this from @BotFather
More features soon, this is a minimal example 🙂
- Extract text from image
- Send any amount of images at once, and it will work the same.
That’s on you mainly…
Channel :- @StarkBots
Group Chat :- @StarkBotsChat