Skip to content

Task 5 of the Prodigy InfoTech ML internship which involves Developing a model that can accurately recognize food items from images and estimate their calorie content enabling users to track their dietary intake and make informed food choices

Notifications You must be signed in to change notification settings

RAHAMNIabdelkaderseifelislem/PRODIGY_ML_05

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍕 AI Food Recognition & Calorie Estimation 🥗

Task 5 - Prodigy InfoTech ML Internship

🌟 Project Overview

This exciting project combines computer vision and machine learning to create a powerful food recognition system that not only identifies food items but also estimates their caloric content! Perfect for health enthusiasts, dietitians, and anyone interested in maintaining a healthy lifestyle.

✨ Key Features

  • 🔍 Recognizes food items from images
  • 📊 Estimates calorie content
  • 🖥️ User-friendly Gradio interface
  • 🚀 Built with state-of-the-art deep learning
  • 📱 Easy to use and deploy

🛠️ Technical Stack

  • Python 3.8+
  • TensorFlow/Keras
  • Gradio
  • OpenCV
  • NumPy
  • Pandas

📂 Project Structure

/
├──src/
    ├── data_preprocessing.py
    ├── model_training.py
    ├── calorie_estimation.py
    ├── gui.py
    └── utils.py
├── app.py
├── requirements.txt
└── README.md

🚀 Getting Started

  1. Clone the repository

    git clone https://github.com/RAHAMNIabdelkaderseifelislem/PRODIGY_ML_05
    cd PRODIGY_ML_05
    
  2. Install requirements:

    pip install -r requirements.txt
    
  3. Run the main script:

    python main.py
    
  4. Open the Gradio interface in your browser

  5. Enjoy the food recognition and calorie estimation tool!

📊 Dataset

Using a subset of the Food-101 dataset focusing on 5 categories:

  • Apple Pie 🥧
  • Caesar Salad 🥗
  • Pizza 🍕
  • Sushi 🍱
  • Ice Cream 🍨

🎯 Results

Our model achieves:

  • 90%+ accuracy on test set
  • Real-time inference
  • Reliable calorie estimation

👨‍💻 Contributing

Feel free to contribute to this project! Open issues, submit PRs, and help make this tool even better!

📝 License

MIT License

🙏 Acknowledgments

  • Prodigy InfoTech for the incredible internship opportunity
  • Food-101 dataset creators
  • Open source community

About

Task 5 of the Prodigy InfoTech ML internship which involves Developing a model that can accurately recognize food items from images and estimate their calorie content enabling users to track their dietary intake and make informed food choices

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages