Inspiration
Most people don't take the time to sort their garbage accordingly, so many items end up in the trash rather than being recycled. This algorithm sorts through waste autonomously, taking away this responsibility from humans.
What it does
This project takes live pictures of items with a computer's webcam and then classifies them as compost, recyclable, or trash using Google's cloud vision API, openCV, and java. Then, this data is sent to an arduino which controls a garbage sorter which sorts representative items into their respective classifications. Also, the Java program creates a GUI to display the output.
How we built it
Software wise, Java was used with Google's cloud vision API, which had pre-trained machine learning models, and open CV to classify live images and send serial output. An arduino was programmed with C/C++ to respond to this serial output to control servo motors. This project was physically built from cardboard scraps, lots of tape, an arduino, servos, wires, and a breadboard.
Challenges we ran into
Communicating between the arduino and java running from a laptop. Implementing the API. Creating a physical model with limited resources. Classifying all the possible types of images. Taking multiple live images and classifying them in series.
Accomplishments that we're proud of
Implementing Google's cloud vision API, allowing us to classify live images, and creating a physical model.
What we learned
Using Java and arduino in sync.
What's next for garbageVision
Larger scale models that sort the item being classified in real time rather than in a representative model. Also, increasing the run time speed.



Log in or sign up for Devpost to join the conversation.