Diet Engine: A real-time food nutrition assistant system for personalized dietary guidance
I built Diet Engine, a phone app that recognizes a meal from a photo with 86% accuracy, estimates its nutrition and gives diet advice through a chatbot.
- Backend
- Database
- Computer Vision

Read the paper on ScienceDirect
Why I built it
Eating well is hard to keep up. Logging every calorie and macro by hand is tedious, and guessing what's in a meal rarely works. I wanted an app that does that work for you, using computer vision.
What it does
Diet Engine is a real-time nutrition assistant for your phone. You take a photo of your meal, and the app identifies the food, estimates its nutritional breakdown and adjusts to your dietary preferences. All it needs is a smartphone camera, so anyone with a phone can get personalized nutrition advice.
Features
- Food recognition: Take a picture, and the vision model detects what's on your plate.
- Nutritional breakdown: The app estimates calories, macros and micronutrients, so you don't log anything by hand.
- Nutritionist chatbot: An NLP-driven assistant gives meal plans, fitness tips and dietary advice based on your health goals.
Tech stack and results
The app uses a client-server architecture to return results in real time. - Computer vision: YOLOv8 (You Only Look Once) and deep convolutional neural networks (CNNs) detect food directly from the smartphone camera. - Natural language processing (NLP): Runs the chatbot's personalized health advice. - Results: Trained on diverse food datasets, the model reached 86% classification accuracy, outperforming many existing algorithms.
Tell us what you're building.
Talk to the engineer, not a salesperson.