This GPT-4o powered Flask web app tells you how many calories there are in an image of a meal you upload
-
Rename the
.env.sample
file into.env
and add your OpenAI API key -
Start the server:
$ python3 server.py
- Go to http://localhost:5000
You can also use it from the terminal:
$ python3 calorie_counter.py IMAGE_FILE