🌱 Inspiration

The global waste management crisis inspired us to create RecyClean. Navigating the complexities of recycling on campus can be challenging for students juggling academics, social life, and responsibilities. Every day, waste ends up in the wrong bins due to a lack of clear guidance, making recycling inefficient and harming the environment. RecyClean simplifies sustainable living by using AI-driven real-time waste classification to provide instant, accurate disposal instructions. By making eco-friendly choices quick and effortless, RecyClean helps students contribute to a greener campus without disrupting their busy lives.


🌍 What it Does

RecyClean is a real-time waste classification tool that helps users identify waste categories and dispose of waste correctly. With the help of advanced AI technologies, the system:

  • Classifies Waste in Real Time: Captures live video from a webcam, detects objects using Google Vision, and classifies them into one of five waste categories: Recycling, Organic, Trash, Electronic, or Miscellaneous.
  • Provides Verbal Feedback: Utilizes Google Text-to-Speech (TTS) to give users an audio response, guiding them on how to dispose of the detected object.

🛠️ How We Built It

RecyClean integrates several technologies to deliver an intuitive and functional solution:

  • Video Feed: OpenCV for capturing and displaying real-time video streams.
  • AI for Object Detection: Google Vision API detects and labels objects in the video frames.
  • AI for Classification: OpenAI’s GPT-3.5-turbo model classifies detected objects into appropriate waste categories.
  • Text-to-Speech: Google Text-to-Speech (gTTS) converts text into speech, providing verbal instructions.
  • Audio Playback: Uses the system’s native audio player or the playsound library to play back TTS-generated audio.

🔧 Challenges We Ran Into

  1. API Integration: Combining Google Vision and OpenAI APIs required careful coordination to ensure real-time performance.
  2. Real-Time Performance: Ensuring low latency between detection, classification, and feedback.
  3. Audio Playback: Cross-platform audio playback had compatibility challenges, which required fallback strategies.
  4. Error Handling: Managing API errors and temporary file cleanup robustly.
  5. Rate Limits: Handling rate limit errors from the OpenAI API effectively by implementing request throttling and optimizing API calls.

🏆 Accomplishments We’re Proud Of

  • Seamless Integration: Successfully integrated multiple APIs to create a smooth workflow.
  • Real-Time Feedback: Achieved minimal delay between object detection and user feedback.
  • Cross-Platform Compatibility: Designed the system to work on various operating systems.

🎓 What We Learned

  1. AI API Utilization: Effectively combining the capabilities of different AI APIs (Google Vision and OpenAI GPT-3.5-turbo).
  2. Real-Time Video Processing: Leveraging OpenCV for efficient video capture and display.
  3. Speech Synthesis: Using gTTS and system-level audio playback to enhance user interaction.

🚀 What’s Next

  1. Mobile App Development: Develop a native mobile application to make RecyClean more accessible and portable.
  2. Integration with IoT: Enhance functionality by integrating with IoT-enabled smart bins for automated waste sorting.
  3. Machine Learning Model: Replace or complement the Google Vision API with a custom-trained ML model for more specialized waste detection.
  4. Expanded Language Support: Add multilingual support to reach a broader audience.

Built With

Share this project:

Updates