craziks-creator / the_ocr_bot

Telegram bot to convert image to text using python

Home Page:https://telegram.me/the_ocr_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optical Character Recognition Bot

logo

A Telegram bot to extract text from image using python


About

You can send an image containing text to this bot and it will respond quickly with the extracted text from the picture!

Start chat with this bot on telegram


Requirements

  • Bot token from Bot Father, If you don't know how to get bot token, read this

  • OCR api key, get your api key from here


Installation

You can fork the repo and deploy it on Heroku :)

Deploy

OR

  • Clone this repository using
git clone https://github.com/amit-y11/the_ocr_bot
  • Enter the directory and install all the requirements using
cd the_ocr_bot
pip3 install -r requirements.txt
  • Make a .env file and paste your API_KEY and BOT_TOKEN
API_KEY = "Your Api key from https://ocr.space/ocrapi"
BOT_TOKEN = "Your Bot Token"

Run Your Bot using the following command :

python3 bot.py

About

Telegram bot to convert image to text using python

https://telegram.me/the_ocr_bot

License:MIT License


Languages

Language:Python 100.0%