How does the food photo calorie estimator work?
When you upload a photo, a compact image-recognition model (MobileNet, running with TensorFlow.js) analyses it directly inside your browser. Nothing is uploaded and no API key is used. The model returns the objects it thinks are in the picture, and we match those to foods in our built-in nutrition database. You then confirm the correct food, choose the serving size and see the calories and macros.
Because general image models were trained mostly on international foods, they recognise items such as pizza, burgers, fruit, vegetables, ice cream and soups well, but can miss regional dishes. That is why every result needs your confirmation, and why our database includes more than 300 foods with a strong focus on Indian meals — roti, paratha, dal, rice, sabzi, idli, dosa, poha, samosa, biryani, paneer dishes, sweets and drinks.
How to use the calorie estimator
- Upload or take a photo of your meal (optional).
- Pick a suggestion, or search the food by name and filter by category.
- Adjust servings to match what you actually ate.
- Choose the meal and press Add to my log.
- Use the BMR & TDEE calculator to set a daily calorie target and watch your progress bar.
BMR and TDEE explained
BMR (Basal Metabolic Rate) is the energy your body uses at complete rest to keep you alive — breathing, circulation and cell repair. We use the widely accepted Mifflin–St Jeor equation:
Men: BMR = 10 × weight (kg) + 6.25 × height (cm) − 5 × age + 5
Women: BMR = 10 × weight (kg) + 6.25 × height (cm) − 5 × age − 161
TDEE (Total Daily Energy Expenditure) is your BMR multiplied by an activity factor, from 1.2 for a desk job to 1.9 for athletes. Eating about 500 kcal less than your TDEE leads to roughly 0.5 kg of weight loss per week; eating a little more supports muscle gain.
Example
A 30-year-old man who is 170 cm tall and weighs 70 kg has a BMR of about 1,618 kcal. With light activity (×1.375) his TDEE is about 2,225 kcal. To lose weight steadily he could aim for around 1,725 kcal a day — for example poha for breakfast, a dal-roti-sabzi lunch, fruit as a snack and a light dinner.
Tips for accurate calorie tracking
- Watch the oil and ghee. One tablespoon of oil adds about 120 kcal, and restaurant curries often contain much more than home-cooked food.
- Measure portions for a few days with a katori, cup or kitchen scale until you can judge by eye.
- Log drinks too — chai, juices and soft drinks add up quickly.
- Prioritise protein (dal, paneer, eggs, curd, chicken, sprouts) to stay full longer.
- Be consistent rather than perfect. Rough tracking every day beats perfect tracking once a week.
Health disclaimer: Nutrition values are approximate and vary by recipe and portion. This tool is for general information and is not medical or dietary advice. Please consult a doctor or registered dietitian for personal guidance, especially if you have a medical condition.