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!
- Clone the repository:
git clone https://github.com/alpatiev/image_recognizer_bot.git
- Navigate to the project directory:
cd image_recognizer_bot
- 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
- Load the models:
easyocr -l en ru -f .
Go to project directory, open config.py and paste bot token from @BotFather:
TOKEN = "your_token"
Then just just run:
python main.py
This project based on EasyOCR model.