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.
- 🔍 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
- Python 3.8+
- TensorFlow/Keras
- Gradio
- OpenCV
- NumPy
- Pandas
/
├──src/
├── data_preprocessing.py
├── model_training.py
├── calorie_estimation.py
├── gui.py
└── utils.py
├── app.py
├── requirements.txt
└── README.md
-
Clone the repository
git clone https://github.com/RAHAMNIabdelkaderseifelislem/PRODIGY_ML_05 cd PRODIGY_ML_05
-
Install requirements:
pip install -r requirements.txt
-
Run the main script:
python main.py
-
Open the Gradio interface in your browser
-
Enjoy the food recognition and calorie estimation tool!
Using a subset of the Food-101 dataset focusing on 5 categories:
- Apple Pie 🥧
- Caesar Salad 🥗
- Pizza 🍕
- Sushi 🍱
- Ice Cream 🍨
Our model achieves:
- 90%+ accuracy on test set
- Real-time inference
- Reliable calorie estimation
Feel free to contribute to this project! Open issues, submit PRs, and help make this tool even better!
MIT License
- Prodigy InfoTech for the incredible internship opportunity
- Food-101 dataset creators
- Open source community