A smart web application that helps users properly sort and recycle items using computer vision and AI. The application provides detailed recycling instructions based on image analysis and local recycling guidelines, powered by LLaMA's context-aware capabilities.
https://alessiochen-traish-app-ilje0r.streamlit.app/
- 📸 Image-based item recognition
- 🗑️ Detailed sorting instructions for each identified item
- 🎯 Bin color coding system
- 🔍 Nearby ecological sites finder
- 🤖 AI-powered waste classification
- 📋 Structured recycling guidelines
- 🧠 Context-aware recycling rules powered by LLaMA
The application leverages LLaMA's powerful context understanding to:
- Process local recycling guidelines and regulations
- Match identified items with the correct disposal methods
- Provide accurate sorting instructions based on item characteristics
- Explain the reasoning behind each recycling decision
- Adapt recommendations to local waste management rules
The recycling guidelines and bin classification system are based on the official document from Rome's municipality
- Frontend: Streamlit
- AI Services:
- Groq and llama for recycling instructions
- Toolhouse for location-based services
- Python 3.8+
- Required API keys:
- OpenAI API key
- Groq API key
- Toolhouse API key
- Clone the repository and install the dependencies:
cd traish
pip install -r requirements.txt
- Set up your environment variables in
.streamlit/secrets.toml
:
[api_keys]
groq = "your_groq_api_key"
openai = "your_openai_api_key"
toolhouse = "your_toolhouse_api_key"
- Start the application:
streamlit run app.py