About the project
NutriSnap – Food Calorie Estimation from Image is a complete Android academic project. The user takes a photo of a meal, the app recognises the dish among 25 common Indian dishes using a TensorFlow Lite image classifier, and shows the calories and nutrients for the chosen portion. Meals are saved to a daily diary and compared with a personal calorie target worked out from height, weight, age and activity level.
How it works
- The user signs up and sets a goal (lose, maintain or gain weight). The app works out BMI, daily calories and macros using the Mifflin–St Jeor formula.
- The user snaps or picks a meal photo. The TFLite model runs on the phone and shows the top dish with a confidence score and two alternatives.
- The user confirms the dish and portion size. Calories, protein, carbs and fat are saved to the diary.
- Home, diary and progress screens show today's intake vs target, weekly charts, a weight trend and water glasses.
- A dietitian reviews the client's meals and writes advice. The admin manages foods, users, quiz, badges and reports from the web panel.
Users
- User – scans meals, adds food manually, sets goals, sees charts, takes the nutrition quiz, earns badges and chooses a dietitian.
- Dietitian – accepts client requests, sees client meals and progress, writes advice.
- Admin – manages users, dietitian approval, food categories, the food database (40 dishes), meals, quiz, badges, notices, reports and settings.
Highlights
- On-device TFLite CNN (MobileNetV2 transfer learning) – no internet needed for detection
- Colour-match fallback with a clear "please confirm" step when the model is not sure
- Personal calorie and macro target using a real nutrition formula
- Streak, points and badges to keep users logging
- Weekly report with a smart next-meal suggestion
- Clean Tomato + Basil design with a raised Scan button
What you get
Full Android Studio source code, PHP admin panel and APIs, MySQL database with sample data, model training notebook, project report (47 pages), abstract, explanation with viva questions, setup guide, diagrams and screenshots.
Who can use it
Final-year students of BCA, MCA, B.Tech, BE, B.Sc IT and M.Sc IT, and anyone learning Android with machine learning.
FAQ
Does the model need internet? No, detection runs on the phone. Internet is used only to save data to the server. Can I add more dishes? Yes. Add them in the admin food database, and retrain the model with the included notebook if you want them detected from photos. Which database is used? MySQL with a PHP backend running on XAMPP.