Inspiration
733 million people go hungry every day, yet edible plants often grow all around us, unrecognized and unconsumed. While nature offers many nutritious options, people often don’t know what’s safe to eat or how to prepare it. I wanted to build a tool that uses AI to identify wild or homegrown plants and teach users what parts are edible, how to cook them, and how to nurture them in a garden. That way, we can turn local greens into real meals—empowering people with knowledge and access to food.
What it does
Food4All allows users to upload a photo of a plant. The app then uses AI to identify the plant and determine whether it's edible. If it is, users are provided with:
- Meal suggestions using the plant
- Gardening tips to grow or care for it. If the plant is not edible, the app displays a clear warning to avoid consumption.
How I built it
- Frontend: HTML, CSS (with responsive design for mobile/tablet/desktop)
- Backend: Python Flask to handle uploads, AI model integration, and routing
- AI/ML: Used a pre-trained image classifier to identify plant species and cross-referenced it with a curated database of edible plants
- UI/UX: Designed clean and intuitive pages that clearly guide the user from upload to information
- Tools: File uploads with Flask, and conditional rendering based on AI output
Challenges I ran into
- Implementing responsive design across a wide range of devices and screen sizes
- Opening a server, transferring variables from python to HTML and vice versa
Accomplishments that I am proud of
- Successfully integrated AI into a real-world application that serves a meaningful cause
- Created a user-friendly interface that dynamically responds to different plant types and outcomes
- Designed and styled the entire site to look professional and work well on all screen sizes
- Learned how to think both technically and empathetically—how to inform users without overwhelming or confusing them
What I learned
- How to build a full-stack web app with Flask and dynamically render templates with Jinja
- Practical use of AI in plant identification and how to link predictions to real, useful knowledge
- CSS media queries and layout principles for responsive web design
- How to balance user safety with creative freedom when displaying sensitive information
What's next for Food4All
- Improve the speed at which the AI model returns a response
- Add multilingual support so it’s accessible to more people globally
- Introduce offline functionality for users in areas without reliable internet
- Develop a mobile app to make Food4All more accessible for users on the go, especially for identifying wild plants during outdoor activities.
- Integrate geolocation to suggest plants that commonly grow in the user's region
Log in or sign up for Devpost to join the conversation.