Inspiration

I have a habit of snacking late at night. I’ve noticed my parents make the same trips to the pantry, and it’s easy for all of us to grab something without checking how it fits our goals. Apps like MyFitnessPal and Cronometer can help, but pulling out my phone, searching for the snack, and logging it feels like a lot in that moment. I wanted to see whether a wearable could put that information right where I’m making the decision and log the details live.

What it does

NutriLens is a phone prototype for a hands-free nutrition assistant. Point the camera at a snack to see its calories, protein, carbs, and fat. The app compares those values with your calorie target, protein goal, or both, so you can make a choice before you eat.

How we built it

We built a web app that sends camera frames to Gemini to identify foods and show where they appear in the camera view. We use Open Food Facts for packaged products and USDA FoodData Central for generic foods. The app compares the nutrition data with the targets you set and displays the result beside the detected item.

Challenges and what we learned

Recognizing a package was only part of the challenge. Similar-looking products can have different recipes and serving sizes. We learned that showing the match and serving size matters as much as showing the numbers. We added barcode lookup and a confirmation step so users can check the result before saving it.

What’s next

We want to bring NutriLens to Apple Vision Pro and camera-enabled Meta glasses. Our goal is to let you look at a snack and see how it fits your goals without reaching for your phone. We also want to add a personalized agent that turns your goals and confirmed food history into a nutrition plan you can adjust over time with recommended simple recipes and options for you to choose from.

Built With

  • claude
  • codex
  • geminiapi
Share this project:

Updates

Submission history