Skip to content
DS
ALL CASE STUDIESCASE FILE — 2025

2025 — AI PRODUCT · COMPUTER VISION · HEALTHTECH

MacroRoute

AI nutrition for hostel and mess students — an end-to-end food-recognition pipeline feeding food scanning, weekly AI meal plans, and a coach that knows what you ate.

Live
01

Overview

The problem

MacroRoute is an AI nutrition system for hostel and mess students: scan a meal photo, get what's on the plate, and convert it into nutrition tracking, weekly AI meal plans, and an AI coach chat — wrapped in gamification (XP, streaks, achievements). The vision backbone is a custom PyTorch food-recognition model built end to end, not an off-the-shelf API: from a Food-101 baseline (~88% validation accuracy) to a cleaned and verified dataset of 247K+ images across 313 food classes, with dataset cleaning, duplicate/variant handling, and class normalization feeding targeted training experiments before the model shipped into the app's production inference layer. Top 20 of 150+ teams at NIT Jalandhar's national hackathon.

My role

Solo build — dataset engineering, model training, and the product.

Timeline

2025 — Live

Stack

Next.jsFastAPIPostgreSQLPyTorch
02

Process

The sequence of decisions that took this from brief to build.

The nutrition loop

System trace — 4 stages
  1. 01

    Dataset engineering

    247K+ images across 313 food classes, cleaned and verified — deduplication, variant handling, and class normalization before any training run.

  2. 02

    Custom vision model

    A PyTorch food-recognition CNN grown from a Food-101 baseline (~88% validation accuracy) through targeted dataset experiments.

  3. 03

    Production inference

    The trained model serves live meal-photo inference inside MacroRoute's application layer — ML shipped, not demoed.

  4. 04

    Behavior layer

    Weekly AI meal plans, an AI coach chat, and XP/streak gamification keep the tracking loop alive after the scan.

03

Results

247K+

Curated images

313

Food classes

Top 20

of 150+ teams, NIT Jalandhar

04

The system

The nutrition loop

System trace — 6 stages
  1. 01

    Meal photo

    Stage 1 of 6 in the system path.

  2. 02

    Vision model (PyTorch)

    Stage 2 of 6 in the system path.

  3. 03

    Classify — 313 classes

    Stage 3 of 6 in the system path.

  4. 04

    Nutrition estimate

    Stage 4 of 6 in the system path.

  5. 05

    Coach + weekly plan

    Stage 5 of 6 in the system path.

  6. 06

    XP · streaks · achievements

    Stage 6 of 6 in the system path.

05

Status & next

Live. Top 20 of 150+ teams at the NIT Jalandhar National Hackathon. Next: sharper portion estimates and wider regional dish coverage.

NEXT CASE STUDY — →

StudyPulse