Inspiration I popped on here to search for my second ever hackathon that caught my eye saw this, got hungry popped into the kitchen, opened the fridge and saw one lonely red sweet pepper in the bottom corner of the fridge and got a brilliant connection. Thinking of all the millions of lonely red peppers out there and the many recipes that can be made I thought why not make an Smart Pantry AI android app.

What it does or what it was meant to do SmartPantryAI tracks your pantry and fridge, predicts what you need, suggests recipes based on what’s available, reduces food waste, and gently reminds you that some things—like raw bell peppers—aren’t snacks. Think of it as a personal kitchen manager who never judges… much.

How I built it Recipe suggestions: the model picks meals based on what’s actually in the pantry through a list written by the user and so the AI model generates a recipe that can be used for said products.

Challenges I ran into The AI actually working who knew if you wanna use someones model it has to be warm off of HuggingFace Convincing myself that it was working fine, many ONNX issues arise when using it with Kotlin Handling random issues when your relying on a random GitHub repository and JavaDocs to handle Tokens Not knowing how far or how many devices it will work on as I was only able to spend 2 days on this project.

Accomplishments that I'm proud of Reduced food waste (at least in theory at least you can make a warm meal). Created a possibly functional AI recipe assistant (quite limited what you can do in 2 days) Avoided at least one accidental raw bell pepper incident, put it into salad but don't think that counts as cooked.

What I learned Take your time finding solutions to AI issues cause in reality they are a far more advanced concept than one can think of Testing is far more important who knew such an AI model like Flan T5 can be so sensitive to rice

What's next for SmartPantryAI What I'll improve; recipe recommendations, add better notifications, and maybe integrate a “don’t eat that raw” mode, the actual AI model that's being utilised and checking if it actually works on other devices. That said… I still eat raw red peppers but while scrolling through all the recipes I could make.

Built With

Share this project:

Updates