Twine

SnapCal AI: Flutter AI Calorie Tracker App

MUHAMMAD USMAN RANDHAWA
Published

0
  • Project creator

SnapCal AI is an AI calorie tracker app I built with Flutter for Android and iOS, powered by Google Gemini AI vision.

The goal was to make food tracking effortless: instead of searching databases and typing meals, users snap a photo and the AI does the rest.

What I built:
• AI food scanner: snap a meal and Gemini identifies each food with a confidence score
• Instant calories and macros: protein, carbs and fat for every meal
• AI meal score and personalised nutrition tips
• Daily calorie ring, macro goals and water tracker
• Smart insights: weekly charts, calories vs goal, streaks and averages
• Meal history with one-tap retake and log

Tech stack: Flutter, Dart, Google Gemini API (vision and text), secure backend for the API key, local and cloud data storage.

Challenge: turning a single food photo into accurate, structured nutrition data. I designed Gemini prompts that return clean JSON for each food item, with portions and macros, so results are consistent and fast.

Result: a polished AI health app that shows how I integrate Gemini, ChatGPT or any AI model into real mobile products, ready to adapt for fitness, diet, health or any AI-powered app idea.