How environmentally friendly is your daily diet? As many of us become more aware of the environmental implications arising from excessive meat consumption, we are now making an effort to shift our diets to be veggie-based. However, changing existing habits is never easy, and thus this web app is designed to help you stay motivated as you change your food habits!
What it does
This web app uses AI to help you stay motivated in adopting a greener diet by doing the following:
Using the camera to capture an image of your meal
The AI then assigns points for the meal recorded - the algorithm uses a weighted average calculation that favours consistency (i.e. number of continuous days) and recent activity
See your daily and cumulative progress on the dashboard, and also compete with friends (similar to Strava) so you can keep each other accountable!
How we built it
We built this primarily using Vue.js for the frontend and Flask for the backend.
Challenges we ran into
Training the AI model to differentiate meal images that were meat-based, vegetarian, or vegan.
Accomplishments that we are proud of
Trained the AI model to have a reasonably sound ability to differentiate images with or without meat
What we learned
- Using Vue.js, Materialize CSS (new to members of the team)
- Limitations and benefits of training AI model with Instagram images
What's next for Green Rank
Build out authentication flow to support the leaderboard function