RecycleRight is an AI-powered waste management application that helps users properly classify and recycle waste items. The application uses machine learning to identify waste items from images and provides guidance on proper disposal methods.
- AI Waste Classification: Upload photos to get instant AI classification of waste items
- Real-time Recycling Guidance: Receive specific instructions for proper disposal
- Interactive Map: Find nearby recycling centers based on your location
- User Dashboard: Track your recycling statistics and environmental impact
- Gamification: Earn points and achievements for responsible waste disposal
- Leaderboard: Compete with others to increase recycling participation
- Python 3.8 or higher
- MongoDB (local instance or Atlas cloud account)
- Google Maps API key (for recycling center locations)
- OpenAI API key (optional, for enhanced analysis with GPT)
-
Clone the repository
git clone https://github.com/yourusername/recycleright.git cd recycleright -
Set up a virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Configure environment variables
cp .env.example .env
Edit the
.envfile and add your API keys and configurations. -
Run the setup script
chmod +x run.sh ./run.sh
This will create necessary directories and initialize required files.
Option 1: Using the run script
./run.shOption 2: Manual start
python app.pyThe application will be available at http://localhost:5001
recycleright/
├── api/ # External API integrations
├── app/ # Core application modules
├── assets/ # Static assets
├── data/ # Database models and operations
├── gamification/ # Points and achievement system
├── logs/ # Application logs
├── models/ # ML models for waste classification
├── ui/ # User interface
│ ├── static/ # CSS, JavaScript, images
│ └── templates/ # HTML templates
├── uploads/ # User-uploaded images (temporary)
├── .env.example # Example environment variables
├── app.py # Main application entry point
├── config.py # Application configuration
├── requirements.txt # Python dependencies
└── run.sh # Startup script
- Create an Account: Sign up to track your recycling progress
- Upload Waste Images: Take a photo of an item or upload from your gallery
- Review Classification: Get AI-powered identification and recycling instructions
- Find Recycling Centers: View nearby locations for proper waste disposal
- Track Progress: View your dashboard to see your recycling statistics
- Earn Rewards: Collect points and badges for your environmental contributions
pytest- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Never commit your
.envfile or any files containing API keys - Generate a strong unique secret key for your Flask application
- Ensure MongoDB access is properly secured
- Use HTTPS in production environments
This project is licensed under the MIT License - see the LICENSE file for details.
- TensorFlow for machine learning models
- OpenAI for GPT-4o integration
- Google Maps API for location services
- The Sustainable Recycling Alliance for waste classification guidelines
