Skip to content

alpatiev/image_recognizer_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple telegram bot for OCR text recognition tasks

Bot can recognize multiple languages, it depends on model you choose. Supports english and russian languages. Project will be refactored soon, it's just MVP for now. Feel free to open the issues!

Installation

  1. Clone the repository:
git clone https://github.com/alpatiev/image_recognizer_bot.git
  1. Navigate to the project directory:
cd image_recognizer_bot
  1. Install all libraries if needed:
pip install -r requirements.txt

If something went wrong, you can try installing opencv and easyocr manually.

pip install easyocr
pip install opencv-python
  1. Load the models:
easyocr -l en ru -f .

Usage

Go to project directory, open config.py and paste bot token from @BotFather:

TOKEN = "your_token"

Then just just run:

python main.py

Credits

This project based on EasyOCR model.

About

Telegram-based bot for text OCR.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages