Skip to content

Our submission for GDSCHacks 2024

Notifications You must be signed in to change notification settings

aarochuk/FoodFrame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FoodFrame

Preview

Inspiration

The inspiration for FoodFrame came from observing the significant amount of food waste generated by households and restaurants due to inefficient inventory and meal planning. Recognizing the potential to leverage technology to solve this, we aimed to create a tool that not only helps reduce waste but also aids in nutritional planning and management.

What it does

FoodFrame is an innovative app designed to help users manage their kitchen inventory more effectively and plan meals more efficiently. By allowing users to input their current food items, the app suggests recipes based on these inputs, helping to use up ingredients that might otherwise expire. It also tracks nutritional information, helping users maintain a balanced diet and make informed food choices.

How we built it

We built FoodFrame using a combination of Firebase for backend data management, Flask for backend and React Native for the frontend interface. The application's core functionality includes image recognition, powered by machine learning models hosted on Google Cloud, to identify food items from pictures uploaded by users. Firebase's Realtime Database manages the inventory and recipe data, ensuring that user interactions are smooth and responsive.

Challenges we ran into

Integrating REST API Calls: One of the significant technical hurdles was managing and integrating REST API calls effectively within our application. The system relies heavily on these calls to fetch data from our backend services, including nutritional information and recipe suggestions based on user-uploaded images. Ensuring these calls were efficient and did not slow down the user experience required careful design and optimization. We faced challenges related to API rate limiting, data serialization, and handling asynchronous requests, which needed a robust error handling strategy to maintain the application’s stability and performance.

Backend and Frontend Integration: Another major challenge was ensuring seamless integration between the backend and the frontend components of our application. Our backend, built on Firebase, needed to communicate smoothly with our React frontend, particularly in areas involving real-time data updates, such as inventory management and live recipe updates. Establishing a consistent and reliable data flow without causing delays or user interface freezes was critical. We spent considerable time designing a state management solution that could handle real-time updates efficiently while keeping the user interface responsive and intuitive.

Accomplishments that we're proud of

We are particularly proud of the seamless integration of complex technologies that provide a simple and intuitive user experience. The ability to accurately recognize food items from images and suggest recipes in real time feels rewarding. Additionally, our system's design effectively reduces food waste and assists users in dietary planning, aligning perfectly with our initial goals.

What we learned

Throughout the development of FoodFrame, we learned a great deal about the complexities of integrating various technologies into a single cohesive application. This includes deeper insights into machine learning, advanced state management in React, and the intricacies of real-time database interactions in Firebase. Moreover, the project enhanced our understanding of user-centered design and the importance of UX in application development.

What's next for FoodFrame

Looking ahead, we plan to expand FoodFrame's capabilities to include meal planning features that consider dietary restrictions and preferences to tailor recipe suggestions even more closely to user needs. We also aim to implement a community-driven platform within the app where users can share their recipes and tips for reducing food waste. Long-term, we envision partnering with grocery stores and restaurants to further reduce food waste across the food supply chain.

About

Our submission for GDSCHacks 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published