OCR Bot @Image_To_Text_OCR_Bot

A star

from you means a lot to us!

Telegram bot to extract text from image

Open Source Love svg1

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN.
  2. Then tap “Deploy App” below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on “Manage App”
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/StarkBotsIndustries/OCRBot
  2. Now head to this page and install Tesseract installer.

  3. Use it to install Tesseract and copy the PATH to where it is installed.

  4. Now uncomment out this line. Fill the inverted commas with your own PATH.

  5. Edit Config.py and fill the needed variables

  6. Enter the directory

    cd OCRBot
  7. Install all requirements using pip.

    pip3 install -r requirements.txt
  8. Run the file

    python3 main.py

Environment Variables

Mandatory Vars

Functions

More features soon, this is a minimal example ?

  1. Extract text from image
  2. Send any amount of images at once, and it will work the same.

To-Do

That’s on you mainly…

PRs Welcome

Credits

Support

Channel :- @StarkBots

Group Chat :- @StarkBotsChat

?

ForTheBadge made-with-python

ForTheBadge makes-people-smile

GitHub

https://github.com/StarkBotsIndustries/OCRBot