Skip to content

sazzadadib/DeshiPlate-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

DeshiPlate AI: Bangladeshi Food Recognition & Nutrition Assistant

DeshiPlate AI is an intelligent food-recognition and nutrition-guidance system built specifically for Bangladeshi cuisine.
It combines a NextViT-based image classifier, a Next.js web app, and an LLM-powered nutrition engine to help users understand their meals, track macros, and receive personalized dietary recommendations.

🔗 Live Site: deshiplateai.vercel.app


🌟 Key Features

🍛 33-Class Bangladeshi Food Recognition

  • Custom dataset with 33 popular Bangladeshi foods
  • Fine-tuned NextViT model
  • Hosted on Hugging Face Hub
  • Provides label + confidence + nutrition info

🍽️ Nutrition & Health Intelligence

  • Calculates:
    • Daily caloric needs
    • Recommended protein, carbs, fat
    • BMI
  • Tracks daily meals
  • Performs food health suitability checks based on:
    • Diabetes
    • BP
    • High cholesterol
    • Weight goals
    • Activity level

🤖 LLM-Powered Recommendations

  • Generates personalized meal advice
  • Identifies risky foods
  • Suggests alternatives
  • Explains results in natural language

💻 Modern Full-Stack Application

  • Next.js frontend
  • Drizzle ORM + PostgreSQL
  • NextAuth authentication
  • TailwindCSS UI
  • HuggingFace inference API

🧩 Repository Structure


DeshiPlate-AI/
│
├── frontend/           # Production-grade Next.js web application
├── model-training/     # NextViT training pipeline for 33-class food classifier
└── README.md 


🚀 How It Works

  1. User uploads food image
  2. Frontend calls /api/food/analyze
  3. API forwards image to HuggingFace model
  4. Model returns class + confidence
  5. System fetches nutrition information
  6. LLM generates personalized guidance
  7. User gets full breakdown + suggestions

🛠️ Tech Stack

Layer Technologies
Model Training Python, PyTorch, NextViT
Model Hosting HuggingFace Hub
Frontend Next.js 16, TypeScript, React
Backend / API Next.js Server Actions, Route Handlers
Database PostgreSQL + Drizzle ORM
Authentication NextAuth
Styling TailwindCSS
AI Assistant OpenAI LLM / ChatGPT API

📄 License

Released under the MIT License.


Support the Project

If DeshiPlate AI helps you, please consider starring the repo to support future development.


🤝 Contributing

Contributions are always welcome:

  • Add new Bangladeshi foods
  • Improve accuracy
  • Extend nutrition database
  • UX/UI upgrades

About

Bangladeshi Food Recognition & Nutrition Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors