OCR Bot

A Telegram bot to extracting text from images. All languages supported.

Deploy to Heroku

Deploy

Local Deploying

  1. Clone the repo

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

  3. Use it to install Tesseract, Then Go to this line and add the PATH where Tesseract is installed.

  4. Fill this PATH with the path of the tessdata folder.

  5. Enter the directory

    cd OCRBot
    
  6. Install all requirements using pip.

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

    python3 bot.py
    

Environment Variables

Mandatory Vars

Devs:

GitHub

View Github