Back To Projects
AI-Based Image Classification Used to Accurately Distinguish Recyclable Material Versus Non-Recyclable Material
Katarina A. | Summer 2022 |
workspace_premium Synopsys Science Fair

One cause of this improper disposal of materials is that it can be difficult to tell if a material is able to be recycled. In response, I created a machine learning model that can distinguish recyclable materials from trash through image classification.


In today’s world, pollution is increasing as plastics and other materials are not recycled properly, resulting in landfills. One cause of this improper disposal of materials is that it can be difficult to tell if a material is able to be recycled. In response, I created a machine learning model that can distinguish recyclable materials from trash through image classification. For my model, I used a dataset called trash-net. I first extracted the contents of the data and resized the dataset in order to have better organization. There are six categories within the dataset: cardboard, glass, metal, paper, plastic, and trash, that the images are organized in. I used resnet34 which is a pre-trained convolutional neural network (CNN) in order to perform the image classification. Afterwards, I trained my model by running the program repeatedly and then tested it by seeing if it accurately predicted if a material was recyclable or not. Lastly, I used matplotlib to visualize the results. The accuracy of the model ended up being about 88%. Generally, if the accuracy of a machine-learning model is higher than 50% then it performs relatively well. With more training and a greater number of images, the program could potentially increase in accuracy. In conclusion, I think my model would help as it could generally classify if a material was recyclable or not. However, an application in which the user directly scans an item would be more useful. Nevertheless, my model performed well and enabled me to learn more about the use of artificial intelligence.

Explore More!

Katarina A.
Ayush Pandit
PhD Candidate at Stanford, prior Stanford Bioengineering Alum

Related Projects

workspace_premium
Diagnosing Hypertrophic Cardiomyopathy Using Machine Learning Models on CMRs and EKGs of the Heart

In this project, we presented a pair of models, one CNN model and one Long Short Term Memory (LSTM) model, that are capable of classifying cardiac magnetic resonance (CMR) and heart electrocardiogram (EKG) scans, respectively.
Surya K. | Summer 2022
Mentored by Sriram Hathwar
workspace_premium
A Hybrid CNN-LSTM Model For Predicting Solar Cycle 25

The goal of this study is to predict Solar Cycle 25 through the deep learning approach,and determine what parameters affect prediction accuracy and what the optimal number of historical solar cycles are used to reliably and accurately predict the upcoming solar cycle. The solar cycle predictions will help us prepare ahead of time for future solar activity.
Alice H. | Summer 2022
Mentored by Tony Rodriguez
Identifying Parameters in Water Potability Analysis Through Machine Learning

Predicting whether the water is potable or not can be helpful for people who are reliant on bodies of water and redirect them to safer options. It will also be beneficial to apply the algorithm to other places where it is expensive and inefficient to send people out and collect water samples. Over the past couple of decades, researchers have often commented on the lack of funding as a source of error when it comes to data analysis and the accuracy of the research.
Molly H. | Summer 2022
Mentored by Sharon Chen