Skip to content

Rylie-W/falco-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

falco-server

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.

How to Run

Requirements

Google service account : https://support.google.com/a/answer/7378726?hl=en

Download the Project

git clone https://github.com/Rylie-W/falco-server.git

cd falco-server

Add the JSON File of Your Google Service Account

Paste your JSON file into the directory falco-server/src/resources with the name ocr.json.

Install Requirements

pip install -r requirements.txt

Run the Server

cd src

python detector.py

About

Backend for falco with Google Vision API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages