--- title: EatSmart Pro emoji: 🍎 colorFrom: green colorTo: blue sdk: streamlit python_version: 3.11 app_file: app.py secrets: - OPENAI_API_KEY pinned: false extra_headers: "Content-Security-Policy": "script-src 'self' 'unsafe-inline' https://www.googletagmanager.com; connect-src 'self' https://www.google-analytics.com;" tags: - food-recognition - nutrition - health - allergen-detection - AI - computer-vision - food-analysis - streamlit - healthy-eating - food-safety - deep-learning - pytorch --- --- title: 🍽️ EatSmart Pro - AI Food Analysis & Nutrition Assistant emoji: 🍽️ colorFrom: red colorTo: blue sdk: streamlit sdk_version: 1.28.0 app_file: app.py pinned: false tags: - food - nutrition - health - computer-vision - streamlit - wellness - diet - calories - ai - machine-learning --- # 🍽️ EatSmart Pro - AI-Powered Food Analysis & Nutrition Assistant [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/Lumilife/eatSmartPro) [![Python](https://img.shields.io/badge/Python-3.8+-blue.svg)](https://python.org) [![Streamlit](https://img.shields.io/badge/Streamlit-1.28+-red.svg)](https://streamlit.io) [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) Transform your relationship with food through cutting-edge AI technology! EatSmart Pro analyzes your food photos instantly, providing comprehensive nutrition insights, allergen warnings, and personalized healthy recipes. ## 🌟 **What Makes EatSmart Pro Special?** 🎯 **State-of-the-Art AI Recognition** - Powered by ConvNeXt Large model with 89.8% accuracy across 101 food categories πŸ”¬ **Comprehensive Analysis** - Nutrition facts, health scoring, and ingredient breakdown ⚠️ **Smart Safety Features** - Personalized allergen alerts and trans fat detection πŸ‘¨β€πŸ³ **AI Recipe Generator** - Create healthy, personalized recipes based on your dietary preferences πŸ“± **Professional UI** - Beautiful, responsive design that works on all devices πŸš€ **Lightning Fast** - Optimized for speed with 5-10 second analysis times ## πŸ–₯️ **Live Demo** **Try it now:** [https://huggingface.co/spaces/Lumilife/eatSmartPro](https://huggingface.co/spaces/Lumilife/eatSmartPro) Simply upload a photo of your food and watch the magic happen! ✨ ## πŸ“Έ **How It Works** 1. **πŸ“± Upload or Capture** - Take a photo or upload from your device 2. **πŸ€– AI Analysis** - Advanced computer vision identifies your food 3. **πŸ“Š Get Insights** - Receive detailed nutrition, health, and safety information 4. **🍳 Generate Recipes** - Create personalized healthy recipes instantly ## πŸš€ **Key Features** ### 🎯 **Advanced Food Recognition** - **High Accuracy**: 89.8% accuracy with ConvNeXt Large model - **101 Food Categories**: From pizza to sushi, salads to desserts - **Smart Confidence Filtering**: Professional handling of unclear images - **Multi-format Support**: JPEG, PNG, camera capture ### πŸ“Š **Comprehensive Nutrition Analysis** - **Detailed Macros**: Calories, protein, carbs, and fats - **Health Scoring**: AI-powered health assessment (0-100 scale) - **Visual Metrics**: Beautiful charts and progress indicators - **Portion Awareness**: Realistic serving size information ### ⚠️ **Personalized Safety Features** - **Allergen Detection**: 9 major allergens (gluten, dairy, nuts, etc.) - **Custom Alerts**: Set your personal allergen preferences - **Trans Fat Analysis**: Identify potentially harmful trans fats - **Risk Assessment**: Color-coded warnings for health risks ### πŸ‘¨β€πŸ³ **AI-Powered Recipe Generation** - **Personalized Recipes**: Based on your dietary preferences - **Multiple Styles**: Healthy, keto, vegan, Mediterranean, and more - **Professional Format**: Ingredients, instructions, prep time, tips - **Dietary Adaptation**: Automatically avoids your allergens ### 🎨 **Beautiful User Experience** - **Modern Design**: Gradient backgrounds and smooth animations - **Responsive Layout**: Perfect on mobile and desktop - **Intuitive Navigation**: Tabbed interface for easy exploration - **Professional Styling**: Hospital-grade UI for health applications ## 🎯 **Perfect For** - πŸ₯ **Health Professionals** - Dietitians, nutritionists, healthcare providers - πŸ’ͺ **Fitness Enthusiasts** - Track nutrition for optimal performance - 🍎 **Health-Conscious Individuals** - Make informed food choices daily - πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ **Families** - Teach kids about nutrition and healthy eating - πŸ₯— **Diet Followers** - Keto, vegan, gluten-free, and other special diets - πŸ“± **Food Bloggers** - Quick nutrition analysis for content creation ## πŸ›‘οΈ **Privacy & Safety** - βœ… **No Data Storage** - Images are processed and immediately discarded - βœ… **Local Processing** - AI analysis happens securely in the cloud - βœ… **No Personal Info** - No registration or personal data required - βœ… **GDPR Compliant** - Respects all privacy regulations ## πŸ”§ **Technical Details** - **AI Model**: ConvNeXt Large (197M parameters) - **Accuracy**: 89.8% on Food-101 dataset - **Processing Time**: 5-10 seconds average - **Supported Formats**: JPEG, PNG, WebP - **Framework**: Streamlit + PyTorch + Hugging Face ## 🌍 **Use Cases** ### For Healthcare - Patient dietary assessment and counseling - Meal planning for medical conditions - Nutrition education and awareness ### For Personal Wellness - Daily food tracking and analysis - Discovering healthier alternatives - Learning about ingredient impacts ### For Education - Teaching nutrition concepts visually - Food science demonstrations - Healthy eating workshops ## πŸ“ˆ **Performance Stats** - 🎯 **89.8% Accuracy** on food recognition - ⚑ **5-10 Second** analysis time - 🍽️ **101 Food Categories** supported - ⚠️ **9 Major Allergens** detected - πŸ§‘β€πŸ³ **Unlimited Recipes** generation ## 🀝 **Community & Support** - πŸ’¬ **Questions?** Open an issue or discussion - 🌟 **Like it?** Give us a star and share with friends! - πŸ”„ **Feedback?** We're constantly improving based on user input - πŸ“§ **Contact**: Reach out for collaborations or custom features ## πŸŽ‰ **Try These Examples** Upload photos of: - πŸ• Pizza slices - πŸ₯— Fresh salads - πŸ” Burgers and sandwiches - 🍰 Desserts and cakes - 🍜 Asian cuisine - πŸ₯˜ Home-cooked meals ## πŸ† **Awards & Recognition** - Featured in Hugging Face Spaces - High user satisfaction rating - Optimized for production use - Accessible design standards ## πŸ“‹ **Changelog** ### Latest Updates - βœ… Added confidence threshold filtering for better accuracy - βœ… Optimized image processing for faster analysis - βœ… Enhanced UI with professional medical-grade styling - βœ… Improved recipe generation with dietary customization ---
### Ready to revolutionize your food choices? πŸš€ [![Try EatSmart Pro](https://img.shields.io/badge/Try%20Now-EatSmart%20Pro-success?style=for-the-badge&logo=huggingface)](https://huggingface.co/spaces/Lumilife/eatSmartPro) **Made with ❀️ by [Lumilife](https://huggingface.co/Lumilife) | Powered by Hugging Face πŸ€—**
--- ## πŸ“± **Social Media** Share your food analysis results with: - #EatSmartPro #AIFoodAnalysis #HealthTech #NutritionAI #HuggingFace - Tag us for features and improvements! *Transform your relationship with food today - one photo at a time! πŸ“ΈπŸŽ*