Inspiration:

What encouraged us to make this tool was the amount of food that goes to waste, especially by young adults, when food in storage compartments is forgotten of and eventually become inedible, and thus causes environmental harm.

What it does:

Uses Gemini API to analyze photos of receipts of grocery items and suggests to users on how to store these items without causing food waste.

How we built it

We built this tool using Flask for the backend with a SQLite database, Flutter and Dart for the frontend/camera, and Firebase for authentication.

Challenges we ran into:

Definitely time, especially since this is our team's first hackathon and our plan was too ambitious, resulting in some features not being fully implemented! But specifically, we had trouble with the logic for a get_expiration_timestamp function that returns a Datetime object of when a certain grocery item is expiring.

Accomplishments that we're proud of:

Fixing get_expiration_timestamp by placing it in another file than originally intended, and changed its implementation.

What we learned

Understanding SQLite documentation (syntax diagrams) and prompting Gemini API effectively for reasonable results

What's next for Pantry Track

More features such as multiple entities of food storage compartments (Fridge #1, Fridge #2, Pantry #1, Pantry #2, etc.), scanning individual grocery items

Share this project:

Updates