Credits to https://github.com/CalicoUFSC for giving the source code.
Just message him the following command: /newbot
and follow the instructions.
pip3 install -r requirements.txt
source fin-bot/bin/activate
python3 tesseract_bot.py
python3 tesseract_bot.py -v
python3 tesseract_bot.py
Send these commands to your bot:
/start
Displays instruction text/delete
Deletes latest uploaded value/total
Displays total value of all receipts/manual <DIGITS> <THING>
Will manually input the Digits and save the Thing
- When taking the picture of the receipt make sure to crop over the price as clean as possible, to avoid any problems with OCR.
- To stop the script
pkill -f tesseract_bot.py
- May exceed Googles Developer Console quota after a long usage