About AI Calorie Tracker

How It Works

AI Calorie Tracker uses advanced AI technology to analyze your meals and provide detailed nutritional information. Here's how the process works:

  1. You enter a description of your meal (e.g., "2 scrambled eggs with toast and butter") or upload a photo of your food
  2. The app sends this description or image to OpenAI's API using your provided API key
  3. The AI model analyzes the food items and estimates their nutritional content
  4. The results are displayed, showing calories, protein, carbs, fat, and other nutrients
  5. You can save the meal to your daily log or add it to favorites for future use

AI Model Selection

You can choose between different OpenAI models for analysis:

  • GPT-4o-mini - Recommended for most users - good balance of speed, cost and accuracy
  • GPT-4o - Latest model with excellent nutritional analysis capabilities
  • GPT-3.5 Turbo - Faster and less expensive option
  • GPT-4 - Original high-accuracy model
  • Custom Model - Use your own fine-tuned model or other OpenAI models

Note: The accuracy of nutritional information depends on the model used and the detail provided in your meal description or image quality.

Custom Analysis Prompts

Personalize how the AI analyzes your food:

  • Customize text analysis prompts to better match your eating habits
  • Tailor image analysis prompts for improved photo recognition
  • Custom prompts are included when you export your data
  • Easily restore default prompts optimized for nutrition analysis
  • Find these options in Settings under "AI Customization"

Tip: If you frequently eat regional foods or follow a special diet, customizing prompts can significantly improve analysis accuracy.

Image Analysis

The app now supports analyzing food images:

  • Upload photos of your meals for AI analysis
  • Images are automatically compressed for faster processing
  • For best results, ensure good lighting and clear visibility of all food items
  • You can review and adjust the results before adding to your log

Weight Tracking

Track your weight progress alongside your nutrition:

  • Record your weight entries with optional notes
  • Visualize your progress with an interactive chart
  • Set target weight goals that display on your progress chart
  • Enter weights for current or past dates
  • Manage your weight history with edit and delete options
  • All weight data is stored locally with your nutrition data

Tip: Consistent tracking at the same time of day (typically morning, after waking up) provides the most reliable progress data.

Privacy & Data Storage

Your privacy is important to us:

  • All data is stored locally in your browser
  • Your OpenAI API key is never sent to our servers
  • Meal data and images are only sent directly to OpenAI for analysis
  • No account or personal information is required
  • You can export your data for backup or transfer between devices

Data Portability

Easily manage your nutrition data:

  • Export all your meal data, favorites, and settings
  • Import data on new devices or after clearing browser data
  • All transfers happen locally with no server involvement

Tips for Best Results

  • Be specific with portions (e.g., "2 tablespoons" instead of "some")
  • Include cooking methods when relevant
  • Specify brands if you want more accurate results
  • For images, take photos from above to show all items on the plate
  • Use the favorites feature for frequently eaten meals

Open Source

This project is open source and available on GitHub. Contributions and feedback are welcome!