#TWEleReceipt
This is a NCTU project for inspecting the Taiwan's Eletronic Receipt system.
#Installation
Python 2.7, Virtualenv, Tesseract:
sudo apt-get install python tesseract,
brew install python tesseract`
Python Virtual Env:
pip install virtualenv
#Component
- Connector.py: to connect, get, post data
- HTMLDataResolver.py: for get the result from a .html
- ImageResolver.py: for captach resolver
This project is built under python2.7
This is a project to get receipts data from authority. Which can calculate and summarize the data.
The server was built by Django, and default database was sqlite
This client should run after the server was up.
Modify the {server_ip} and {server_port} in TaskSolver.py
python2 TaskSolver.py
virtualenv .
source bin/activate
pip install -r requirements.txt
python manage.py makemigrations taskServer
python manage.py migrate
python manage.py runserver [server_ip:server_port]
server_ip:server_port/