Inspiration
I've sometimes lost track of how many days the side-dish containers and food containers in my fridge have been sitting there, and then wondered whether the food was still safe to eat.
What it does
If you snap a photo, it easily keeps track of when each container went in and how long it's been there.
How we built it
I thought through my answers to the questions asked by the skill the competition provided, and gradually fleshed out the app's content. Then I built it as a web app that runs in the browser and uses the Gemini API to read the photos.
Challenges we ran into
The hard part was figuring out how to handle cases where the image recognition wasn't accurate, as well as the various edge cases involving what's stored in a fridge. When the recognition was wrong, I labeled the items and selected their regions myself.
Accomplishments that we're proud of
I felt proud to have built a cute, charming virtual fridge log that worked exactly the way I wanted, just as I had imagined and asked for.
What we learned
I thought building features like this would be hard, but they turned out to be easier to implement than I expected. It was a lot of fun.
What's next for Leftover Clock
I'd like to use a wider range of APIs and image recognition features to make recognizing what's in the fridge more accurate, and to handle more kinds of edge cases.
Built With
- gemini-api
- indexeddb-(dexie)
- next.js
- typescript
- vercel