What it does / About Us
Eat Fresh is a web-app that helps users determine the carbon footprint of their food! Users upload a picture via a url on our website, and our machine learning algorithm classifies the image based on the different foods pictorially available. Then, based on those results we determine the carbon footprint of the highest emitting food and return the result to the user. This way, users can gain some intuition on their carbon footprint over time as they eat different foods. The goal of Eat Fresh is to help users become more ethical consumers. It is important, now more than ever, to lead our lives with an awareness of how our actions affect our environment. Users can also donate money to different clean agriculture organizations. All images are uploaded to our central database as well so we can improve our classifier model and analyze the food-trends of our users.
How we built it / Tech-Stack
Our application was built using Flask, a micro web framework. We used Python for the back-end and our auxiliary data analysis, and HTML/CSS/JS tech-stack for our front-end. Our machine learning classifier was built off of Clarafai's public food classifier. We used the checkbook REST API to perform all our payments and the Estuary API (a a decentralized data storage built on blockchain-based cooperative digital storage) to store all our user's images to a central data source. We used vercel to host our website.
What we learned / Challenges we ran into
As a majority beginner team, we learned a lot this weekend: from playing around with the different parameters in the model to deprecated Python modules to learning about API authentication and tinkering around with HTML requests and endpoint-based routing to painstakingly adjusting our CSS, we faced some small struggles throughout our hacking experience!
We hit one of our major challenges closer towards the end of our project: Vercal operatues using a serverless function which was not something we built Eat Fresh with the intention of. Thus, we ran into some issues while trying to deploy our website, and it took us a while to understand exactly why our build was failing when it was working perfectly locally. Thanks to ChatGPT and some frantic googling, we were able to adjust our framework to operate using this protocol! It was a good debugging experience and helped us think about the important bits of infrastructure to have in place to allow a website like ours to scale well!
Built With
- api
- carbon-emissions
- checkbook
- computer
- css
- decentralized-storage
- estuary
- flask
- html
- javascript
- machine-learning
- payment
- python
- rest-api
- sustainability
- vercel
- vision

Log in or sign up for Devpost to join the conversation.