Skip to content

Droid-An/telegram-ocr-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: Telegram bot receipt recognition

To run:

One time

  1. Install the OCR engine: brew install tesseract
  2. Make a virtual environment: python3 -m venv .venv
  3. Activate the virtual environment: . .venv/bin/activate
  4. Install dependencies: pip install -r requirements.txt
  5. Create bot in telegram using @BotFather bot in telegram
  6. Create config.txt file with the token to access bot api
  7. In terminal run which tesseract to locate the path of tesseract
  8. Put that path in pytesseract.pytesseract.tesseract_cmd = r"<path_to_tesseract>"
  9. Run python3 tg_bot_receipt_parcer.py to start the bot

Each time

  1. Run python3 tg_bot_receipt_parcer.py to start the bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages