Spaces:
Sleeping
Sleeping
File size: 7,500 Bytes
fc6b0b5 a8f1164 fc6b0b5 a8f1164 fc6b0b5 a8f1164 fc6b0b5 a8f1164 fc6b0b5 a8f1164 fc6b0b5 4ca6d46 a8f1164 fc6b0b5 a8f1164 fc6b0b5 a8f1164 fc6b0b5 a8f1164 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | ---
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
[](https://huggingface.co/spaces/Lumilife/eatSmartPro)
[](https://python.org)
[](https://streamlit.io)
[](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
---
<div align="center">
### Ready to revolutionize your food choices? π
[](https://huggingface.co/spaces/Lumilife/eatSmartPro)
**Made with β€οΈ by [Lumilife](https://huggingface.co/Lumilife) | Powered by Hugging Face π€**
</div>
---
## π± **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! πΈπ*
|