Inspiration

The food we waste contributes 4.4 gigatons of CO2-equivalent into the atmosphere each year—roughly eight percent of total anthropogenic greenhouse-gas emissions. This is why we devised a solution that would help each individual contribute to the cause by managing their food storage and intake.

What it does

Using a mounted fridge camera, Foodprint takes photos of items in your fridge in regular intervals, tracks each item's entry and exit, alerts near-expired and expired items, recommends recipes that utilises the items in your fridge and calculates your overall carbon footprint based on the food you consume or throw away.

How we built it

The photos taken by the camera will be passed to the Google Vision API to be annotated with their labels appropriately. The labels will then be updated to the MongoDB, and the ingredients stored there will be passed through a recipe-generating API to be displayed in the user interface. Users will also be alerted if the items are nearly expired or has expired, and this is done by calculating the amount of time the item spent inside the fridge. The recipes selected, amount of food in the fridge and the amount of expired items will collectively amount to the carbon footprint score of the user.

Challenges we ran into

Never worked with Google Vision API, MongoDB and Flask (our project consist of all three). React DOM not refreshing for some reason.

Accomplishments that I'm proud of

It works!

What I learned

Bananas are the most identifiable fruit.

What's next for Foodprint

Adding an SMS notification system that will alert the user if items that are almost expired and allowing the users to input custom expiry dates.

Built With

Share this project:

Updates