This is the backend repository for Falco, a food-saving application with dietary advice.
It listens http requests with the byte array of a receipt image in their body on port 5000, and sends responses with json in their body, of which the key is products and the value is corresponding numbers in the receipt.
Google service account : https://support.google.com/a/answer/7378726?hl=en
git clone https://github.com/Rylie-W/falco-server.git
cd falco-server
Paste your JSON file into the directory falco-server/src/resources
with the name ocr.json
.
pip install -r requirements.txt
cd src
python detector.py