Inspiration
Our inspiration for this was how so many people don't know where their trash goes (ie. compost bin, recycle bin, or trash bin) which is harmful for the environment. From machine learning to game development, our project allows users to learn what is the right trash bin for their trash. Our project is meant to be fun and interactive while also helping people benefit the environment.
What it does
First, the user will hold up an object (out of these choices: paper cup, Doritos, Izzie can, ketchup, and plastic water bottles) and our machine learning AI will be able to accurately identify which is which. After identifying the object, users are brought to a game where they will be able to drag that piece of trash into the right trash bin. However, if the user incorrectly identifies the object, we will educate the user on where the trash belongs and why. Our project qualifies as a sustainability and an education game.
How we built it
We started with machine learning, identifying the object. Later, we built the game section of our design. We worked on linking the two files to each other which proved to be challenging (we talk about later in the challenges section) and lastly, we worked on including the aesthetics like trash cans, emojis based on what was identifying etc.
Challenges we ran into
We faced many challenges along the way including directing our two files, one which contained the camera code and connecting it to our main code which is the game. This turned out to be very difficult because the variables we defined in one file could not be transferred into the other file which led to confusion and null variable calls.
Accomplishments that we're proud of
We are proud of being able to code the camera identifying part because we wove gaming aspects, our knowledge of AI, and coding together.
What we learned
We learned how to incorporate javascript and html together.
What's next for Compost, Recycle, or Trash?
Our goals for the next part of our project includes giving users the ability to identify a wider variety of objects. This gives for more flexibility and a more interactive and fun experience altogether. We are also working on allowing users to shoot the trash into the bins like a basketball game. We think this could make it more exciting and give younger users a larger incentive to continue playing and learn more about sustainability! Another one of our future goals is having a trophy cabinet so users can collect trophies of trash and build up their collection as another incentive to continue learning and playing our game.
Log in or sign up for Devpost to join the conversation.