We noticed that a lot of people waste food. Maybe they forget that they have something lying in their refrigerator that eventually rots. Or maybe, they buy excess food while going grocery shopping which leads to wastage. Or maybe, they just don't have the time to keep track of and consume their groceries on time. Some people also complain about not being able to eat fresh and healthy or spending too much money on groceries because they do not have the time to keep track of expiring items. Or they just can't decide what to cook for dinner!

Yes, those people sometime include us too.

We were unhappy about this and wanted to do something. We think Phresh can help.

What it does

Phresh allows users to add their grocery receipts by taking a picture or choosing one from their gallery. Phresh then does the heavy lifting by pulling out all relevant information about user's items from the uploaded photo and starts tracking the users groceries. It displays the recommended number of days before which the users should consume their items through interactive freshness bars and sends reminders before the items expire. Phresh also integrates trends that users can use to keep track of their eating and shopping habits to make more informed decision in the future to waste less food and save money.

How we built it

We used Swift and Objective-C to create an iOS application to provide users easy access to their food items. We took the user provided image from the user's mobile phone and passed it to the backend for processing. Flask and Python came to our rescue in the backend and helped us extract crucial information from images and process them. We also used to ngrok to establish a tunnel to our local host for transmitting data across the phone and the server.

Challenges we ran into

Our biggest challenge was getting the flask server to communicate with the iOS device since they cannot communicate locally.

Finding time to sleep was also hard.

What we learned

Making Phresh was not easy. We encountered numerous bugs. We scratched our heads. We cried. We sought help. We figured it out. We rejoiced. More importantly, we had a great time!

What's next for Phresh

Minor bug fixes and features additions. Android support.

Share this project: