Skip to content

An AI-powered ingredient analyzer that helps you understand what's in your food. Simply take a photo or upload an image of an ingredients list, and Snappy Gredients will analyze it for you!

Notifications You must be signed in to change notification settings

divinesaun/snappy-gredients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🥣 Snappy Gredients

An AI-powered ingredient analyzer that helps you understand what's in your food. Simply take a photo or upload an image of an ingredients list, and Snappy Gredients will analyze it for you!

✨ Features

  • 📸 Take photos or upload images of ingredient lists
  • 🔍 Extract text using OCR technology
  • 🤖 Analyze ingredients using Google's Gemini AI
  • ⚠️ Identify potential allergens
  • 🧪 Highlight additives and preservatives
  • 💡 Provide health-related insights
  • 📱 User-friendly interface built with Streamlit

🛠️ Tech Stack

  • Python 3.x
  • Streamlit
  • Google Gemini AI
  • OCR Space API
  • PIL (Python Imaging Library)
  • Requests

🚀 Getting Started

  1. Clone the repository:
git clone [https://github.com/yourusername/snappy-gredients.git](https://github.com/divinesaun/snappy-gredients.git)
cd snappy-gredients
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables: Create a .env file in the root directory with:
GOOGLE_API_KEY=your_google_api_key
OCR_SPACE_API_KEY=your_ocr_space_api_key
  1. Run the application:
streamlit run main.py

�� API Keys

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

⚠️ Disclaimer

This tool is for informational purposes only. Always consult healthcare professionals for medical advice. The analysis provided should not be considered as medical or dietary advice.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Inspired by Black Mirror Season 7 Episode 2
  • Built with Streamlit's amazing framework
  • Powered by Google's Gemini AI

About

An AI-powered ingredient analyzer that helps you understand what's in your food. Simply take a photo or upload an image of an ingredients list, and Snappy Gredients will analyze it for you!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages