Inspiration
I often find myself staring into the fridge, unsure what to cook with the random ingredients left behind. I wanted to create something that could turn that everyday dilemma into a smart, helpful experience. The idea of combining image recognition with recipe generation felt both practical and exciting.
What it does
Smart Fridge Recipe lets users upload a photo of their fridge contents. The backend uses image analysis to identify ingredients, then suggests recipes based on what’s available—reducing food waste and making cooking more accessible.
How I built it
I used HTML, CSS, and JavaScript for the frontend, and AWS Lambda with Python for the backend. The API Gateway handles requests, and the Lambda function processes the image name to generate recipe suggestions. I also configured CORS and integrated S3 for image storage.
Challenges I ran into
The biggest challenge was debugging CORS errors and ensuring the frontend could communicate with the backend. I spent hours troubleshooting API Gateway configurations and Lambda permissions. Eventually, I simulated the backend response to keep the demo functional.
Accomplishments that we're proud of
Despite facing unexpected technical hurdles, we successfully built a working prototype that connects a user-friendly frontend with a serverless backend. We configured AWS Lambda, API Gateway, and S3 to create a scalable architecture—and learned how to troubleshoot complex CORS and integration issues along the way. We're proud of how we adapted under pressure, simulated backend responses for demo purposes, and delivered a complete user experience that reflects our original vision.
What I learned
I learned how to set up serverless architecture with AWS, how to handle cross-origin requests, and how to design a user-friendly interface. Most importantly, I learned how to adapt when things don’t go as planned—and still deliver a working solution.
What's next for FridgeChef AI
Next, we plan to integrate real-time image recognition to automatically detect ingredients from fridge photos. We also want to expand our recipe database, personalize suggestions based on dietary preferences, and add voice interaction for hands-free use in the kitchen. Ultimately, we envision FridgeChef AI as a smart cooking assistant that reduces food waste, saves time, and makes home cooking more intuitive and fun.
Built With
- api
- css
- html
- javascript
- lambda
- python
- s3
Log in or sign up for Devpost to join the conversation.