You are on page 1of 5

2023 3rd International Conference on Computing and Information Technology (ICCIT),

FCIT, University of Tabuk, KSA. 13 and 14/Sep/2023.

Waste Management Detection


Using Deep Learning
Pokkuluri Kiran Sree Phaneendra Varma Chintalapati
Head & Professor, Dept of C.S.E, Dept of C.S.E,
2023 3rd International Conference on Computing and Information Technology (ICCIT) | 979-8-3503-2148-7/23/$31.00 ©2023 IEEE | DOI: 10.1109/ICCIT58132.2023.10273898

Shri Vishnu Engineering College for Women(A), Shri Vishnu Engineering College for Women(A),
Bhimavaram, Bhimavaram,
drkiransree@gmail.com

SSSN Usha Devi N M. Prasad


Assistant Professor , University College of Engineering, Dept of C.S.E,
JNTUK, Kakinada, Shri Vishnu Engineering College for Women(A),
ushaucek@gmail.com Bhimavaram,

Gurujukota Ramesh Babu P.B.V.Raja Rao


Dept of C.S.E, Shri Vishnu Engineering College for Dept of C.S.E, Shri Vishnu Engineering College for
Women(A), Bhimavaram, Women(A), Bhimavaram,

Abstract—In the modern world waste pollution is the pollutants brought about by deserted household
challenging environmental issues. To reduce pollution, things and unloaded trash, and construction leftovers
we need to recycle the waste. In order to recycle waste, ruin the city as well as threaten the well being of the
one must know which category the waste belongs to. citizens. To diminish illegal dumping, a couple of
Waste classification is a social issue related to people’s urban areas have planned network-based voluntary
livelihood, so letting smart systems perform intelligent reporting frameworks and observation camera-based
waste classification has important significance. So, we
monitoring frameworks.
are here with a waste detection system that uses deep
learning and categorizes the waste plastic or non- But these methodologies require manual
recyclable or glass or bio or others. The proposed observing and recognition, which are vulnerable and
system is trained and tested to detect the classify the expensive against false alarms. The techniques of
waste using the CNN(Convolution Neural Network)
i.e. a deep learning algorithm. The image of the waste
deep learning are being effectively applied to
material is fed into a neural network which determines different areas, for instance, object identification
the class of object. We have considered precision, problems have been successfully solved in a variety
recall and F1 Score as performance metrics to evaluate of industrial settings, including as medical imaging,
our model. The proposed model is compared with autonomous driving, and many others. Applying
existing baseline models like machine learning, basic these techniques to waste sorting can build the
neural networks and datamining approach. The amount of recycled material and thus, give a simpler
developed deep learning model has outperformed the everyday life for the common people as well as
existing literature with chosen parameters.
more efficiency for the industry.
Keywords: Waste Grouping, DL( Deep Learning),
Thus, the aim is to plan and develop a framework
yolov5, Faster- R-CNN.
with a deep learning approach that can be effectively
I. INTRODUCTION used for waste segregation. The image will be
recognized by utilizing the concept of a CNN and
A major concern of the present world is waste
with the help of an image processing method that
management. Here, the amount of waste in the world
identifies wastes from their shape, color, dimension,
generates at least 5 million tons of waste per day and
and size . This technique automatically will help the
this number is still increasing day by day. Recycling
system to learn the pertinent features from the sample
waste is particularly important to reduce pollution[2].
images of the trash and consequently recognize those
To recycle waste, one must know which category
features in new images.
tells that waste belongs to.
By using the strategy of CNN garbage will be
Waste Management in the present time is known
classified into different classes. The strategy utilized
to everyone but unfortunately, it is neglected by
for this characterization[3] is with the assistance of
numerous people that are utilized to portray exercises
Tensorflow Object Detection API and Faster R-
for waste segregation to take care of issues brought
CNN technique. Through this technique, bounding
about by wrong garbage disposal . Illegal dumping
boxes are made on the recyclable waste
has been a constant issue in numerous urban
demonstrating which class (cardboard, paper, metal,
communities on the planet[1]. The smells and

979-8-3503-2148-7/23/$31.00 ©2023 IEEE 50


Authorized licensed use limited to: PES University Bengaluru. Downloaded on October 14,2023 at 08:10:44 UTC from IEEE Xplore. Restrictions apply.
2023 3rd International Conference on Computing and Information Technology (ICCIT),
FCIT, University of Tabuk, KSA. 13 and 14/Sep/2023.

glass, plastic, and trash) the waste falls into. The offers more benefits than other techniques, it is
main objective of this study is to develop software to primarily utilized for image recognition.
detect types of recyclable materials in trash bins and
B. Object Detection
check for possible contamination which would
Object Detection is a part of the computer vision
ultimately reduce human effort in waste
technique where a software framework can detect,
segregation[5].
trace, and locate the object from any given video or
So, we have a trash detection system that classifies image.
the various waste elements into bio, glass, metal,
plastic, non-recyclable, and paper using deep
learning. One of the special traits of object detection is that
it recognizes the object's class and the coordinates of
II. RELATED WORKS the location of the object in the given picture. By
Waste management is linked to environmental drawing a bounding box around the object, it states
contamination, which is a global issue. As a result, that the region is being pointed out.The bounding box
there has been a considerable rise in rubbish might or might not precisely find the location of the
production in recent years, with 5.2 tons of waste object. The capability of locating the object inside a
being produced in 2018[4], according to reports picture describes the accuracy of the performance of
from the household waste collection. By the time it the algorithm which is being used for detection. Face
reaches 2050, it is predicted to have three billion identification is one of the instances of object
tons waste every year. World Bank States that 14% detection [6][15]. For the most part, the object
of waste is recycled globally and without any detection task is completed in three stages:
classification initially 30% of the garbage is The little rectangular portions are being produced
separated from the original waste. This results in the upon the input image.
free separation of different waste kinds in a range
of situations. 1. Feature extraction is completed for each
portion of the rectangular region to predict whether
We have identified the most spreading and the rectangular shape contains a valid object.
environmental harm is due to plastic waste. This
spreading is increasing day by day, we need to 2. Finally, the rectangular boxes which are
prevent this pollution of this environment and them overlapped get combined into a single bounding box
protect the wild animals and human life. showing the detection result of the object.

Since then, the number has been increasing day


by day. According to the most recent WHO report, C. Image Processing
466 million individuals, or 5% of the world's One of the key components of a signal processing
population, had hearing loss in 2019. Of these, 432 framework where the input takes the form of an image,
million (or 83%) were adults and 34 million (or 17%) such as a picture or video clip, is image processing. An
were children. The WHO predicted that by 2050, the image or several attributes or parameters connected to
number will double. There is a need to remove the the image may also be the result of an image processing
communication barrier that impacts deaf-mute operation. The basic goal of image preprocessing is to
people's lives and social interactions in this rapidly improve the picture information by removing
expanding population[7]. unnecessary images and adding the important ones for
further processing[8].
III. SYSTEM DESIGN D. Proposed System

A. Convolutional Neural Networks (CNN)


The convolutional neural networks (CNN) main
function is to classify or the images/pictures or group
the images or cluster the pictures by the similar
features and it performs the detection of the object by
artificial neural networks. CNN takes the input as
information pertaining to the pictures and then
process the image as a tensor. It can be viewed as the
matrix of numbers with the dimensions also as an
input and then sort the search.
Then CNN reveals 3D objects are a subset of
things that can recognise large-scale images. It is Input Convolution Layer Fully Connected Layer Output
being uploaded by numerous applications,
Fig. 1 CNN Architecture
including object identification and facial
recognition. This is one of the most challenging In our paper we primarily focus on producing a
non-trivial projects. In neural networks, CNN is CNN model which can detect the images of waste
made up of three different layer types:
convolutional layers, subsampling layers, and fully
connected layers.. Since CNN

979-8-3503-2148-7/23/$31.00 ©2023 IEEE 51


Authorized licensed use limited to: PES University Bengaluru. Downloaded on October 14,2023 at 08:10:44 UTC from IEEE Xplore. Restrictions apply.
2023 3rd International Conference on Computing and Information Technology (ICCIT),
FCIT, University of Tabuk, KSA. 13 and 14/Sep/2023.

and show the accuracy of that particular image. We tool) to CSV files which contain all the data for the
made a system which can detect many types of waste train and test images.
into categories such as: glass, bio, plastic, paper, After the training data is generated, a label map is
metal, non recyclable and other wastes. In order to created which notifies the system about what each
eliminate undesirable distortions and enhance a few object is by characterizing a mapping of class ID
parts of the input image, preprocessing techniques numbers to class names. After the label map is
work to improve the image's details. Image created, finally, the object detection pipeline is
processing can couple RGB images, convert them configured which helps in defining what type of
to grayscale, and remove unwanted characteristics. parameters and models is used for training.
A sophisticateddigital instrument, such as a camera,
takes a photograph of the image and converts it into
C. Model Testing
grayscale. Calculating the average estimate of the
During this phase a second set of data is loaded.
three components of the two colours results in the
Testing the trained model is the last part of the
grayscale transformation (0 and 255 separately). The
process. After the training gets completed, the frozen
colour intensity is determined by a set limit, in this
inference graph is exported. This is used for
case 127, which is adjusted to 0 and then to 255[9].
identifying and classifying the objects in a real-time
The proposed design is presented in Figure 1. We feed utilizing webcam, images, and videos[14].
have used the basic AlexNet and used the
normalization function. Then we have deactivated D. Live Detection
the two convolutional layers consisting of 238 filters. In this module, the user can directly turn on their
In the first model we have used the Softmax for the camera and start showing the images, the images will
last fully connected layer as a activation function and start predicting the accuracy of that particular
cross entropy categorical loss function. In the later image[13].
model ie second we have used a linear function for
the last fully connected layer with hige categorical V. RESULTS AND DISCUSSION
loss function. CNN is turned to be better classifier for In this segment, the outcomes of the created
handling the multi class classification [10]. Both the model will be examined. The created model works
images of waste and capturing of the waste by using reasonably on the test data. Out of 500 images, 420
a camera will be shown in our Application. So it will images were accurately predicted by the model
detect the particular images of waste and then it will which concludes that the accuracy rate of the model
give the accuracy [12]. is near about 90%.
IV. IMPLEMENTATION The model precisely classifies the type of waste
materials by detecting the type of objects. The
images of the testing data were utilized for testing the
A. Model Building
result of the created model. For the detection of the
We start with the dataset, and these divisions
waste materials, the images of the test data have been
were created based on the images found in each
specifically included in the testing code. The total
individual folder. However, these photos'
detection time taken by the model to predict a single
annotations were expressly required for using the
object from an image is about some seconds.
data in a Faster R- CNN model. A tool called the
LabelIMG tool has been utilized to obtain the To find the actual accuracy of the model, the
annotations needed for tagging the images.We had names of the images were physically given to
to use the LabelIng tool to assign the appropriate observe how exact the functions of the model have
class to the part of the image that was pertinent, performed in those images. At first, during testing,
such as cardboard, metal, rubbish, etc. The method multiple boundaries have been observed getting
of drawing boundaries around the waste object in created in the region of the detection of the objects
the photograph is part of this type of labeling. and by changing the threshold for the prediction of
This particular system's main goal is to teach the images this error was eliminated.
the framework how to detect things. The LabelIMG
This aided in invalidating the boundaries of the
program saves the data of the annotations of the
object with minimal threshold values. The model is
images in the XML extension format. The image
also being tested on multiple waste objects. Though
annotations include the image size, the coordinates
in some images it could detect and predict the
of the image's position, and names of identified
multiple objects accurately as the training dataset
objects that can be examined in the file[11].
does not contain any multiple waste objects that's
B. Model Training why the prediction of the model was not consistent
After model construction it is time for model and sometimes it failed to detect the waste objects
training In this phase, the training data is generated accurately in an image with multiple objects.
by generating TFrecords and converting the XML
The total detection time taken by the model to
files(annotations of the images labeled by LabelIMG
predict multiple objects from an image is near about
8.09 seconds. The multiple object images were taken
in a white background for testing as the images of the

979-8-3503-2148-7/23/$31.00 ©2023 IEEE 52


Authorized licensed use limited to: PES University Bengaluru. Downloaded on October 14,2023 at 08:10:44 UTC from IEEE Xplore. Restrictions apply.
2023 3rd International Conference on Computing and Information Technology (ICCIT),
FCIT, University of Tabuk, KSA. 13 and 14/Sep/2023.

training dataset were also taken in a white identifying waste plastic as 0.85, non-recycle content
background. These images do not belong to testing as 0.74, glass content as 0.80, bio class as 0.72 and
data and were taken by a mobile camera. others class as 0.73. The NN( Neural Network)
This analysis can be completed by applying the approach has reported a precision for identifying
different classification algorithms of each model to waste plastic as 0.84, non-recycle content as 0.69,
this framework independently, and then glass content as 0.81, bio class as 0.74 and others
determining which model is best-suited to be used class as 0.61. The ML( Machine Learning) approach
to obtain more accurate item identification and has reported a precision for identifying waste plastic
prediction in a short amount of time. Robotic as 0.85, non-recycle content as 0.68, glass content as
garbage collection and disposal allows us to select 0.76, bio class as 0.81 and others class as 0.64 as
the hardware component as well. shown in Figure 3.
The results show the robustness and versatility of
the developed classifier.

VI. CONCLUSION
With the help of Waste Management
detection, we can recycle a lot of wastage which
helps in reducing pollution. This leads to minimizing
cost and to maintain the surroundings clean. This is
one of the original approaches to waste detection
and waste classification utilizing benchmarked
benchmark datasets. We have made sure to
examine the effectiveness of waste detection in
various conditions. This framework has received
Fig. 2 Summary of Precision, Recall, F1 Score using Deep the best remarkable performance in the detection of
Learning (CNN) waste.
In order to safeguard the environment and
In the above graph, we can see the accuracy of lessen pollution, the future work also seeks to
the images after training and validation of the dataset. integrate this technology into a mobile platform so
We can see that the results of training and validation that it is very simple for the user to classify waste
on the above graph So, this graph is for detecting the items and dispose of the waste materials in the
percentage of the given dataset images. appropriate disposal bin.
The output of the CNN (Deep Learning) classifier REFERENCES
is five classes i.e. dividing the material into waste
[1] He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual
plastic, non-recycle content, glass, bio and others. learning for image recognition. In Proceedings of the IEEE
We have evaluated our classifier using precision, conference on computer vision and pattern recognition (pp.
recall and F1 score. The proposed classifier has 770-778).
[2] A. Lanorte, F. De Santis, G. Nolè, I. Blanco, R.V. Loisi, E.
identified the waste plastic with 0.94 precision, non-
Schettini, G. Vox Agricultural plastic waste spatial
recycle waste with 0.79 F1 score, glass class with estimation by Landsat 8 satellite images Comput. Electron.
0.89 F1 score, bio class with 0.82 F1 score and others Agric., 1 (2017), pp. 35-45, 10.1016/j.compag.2017.07.003
class with 0.78 as shown in the Figure 2. [3] Y. Liu, Z. Ge, G. Lv, S. WangResearch on automatic
garbage detection system based on deep learning and
narrowband internet of things J. Phys.: Conf. Ser.,
1069(2018), p. 012032, 10.1088/1742-6596/1069/1/012032
[4] Zhao, Z.Q.; Zheng, P.; Xu, S.t.; Wu, X. Object detection
with deep learning: A review.
IEEE transactions on neural networks and learning systems
2019, 30, 3212–3232.
[5] Çevik, E.; Zengin, K. Classification of Skin Lesions in
Dermatoscopic Images with Deep Convolutional Network.
[6] Simonyan, K.; Zisserman, A. Very deep convolutional
networks for large-scale image recognition. arXiv preprint
arXiv:1409.1556 2014.
[7] Donovan, J. Auto-trash sorts garbage automatically at the
techcrunch disrupt hackathon. Techcrunch Disrupt
Hackathon, San Francisco, CA, USA, Tech. Rep. Disrupt
SF 2016, 2016.
[8] Awe, O.; Mengistu, R.; Sreedhar, V. Smart trash net: Waste
localization and classification.
Fig. 3 Comparison with Base Line Classifiers arXiv preprint 2017.
[9] Pokkuluri, Kiran Sree, SSSN Usha Devi Nedunuri, and
The proposed classifier ie CNN (Deep Learning) Usha Devi. "Crop Disease Prediction with Convolution
has reported a precision for identifying waste plastic Neural Network (CNN) Augmented With Cellular
as 0.94, non-recycle content as 0.75, glass content as Automata." INTERNATIONAL ARAB JOURNAL OF
INFORMATION TECHNOLOGY 19.5 (2022): 765-773.
0.87, bio class as 0.78 and others class as 0.78.
[10] Pokkuluri, Kiran Sree, and Devi Nedunuri Usha. "A secure
DM(Data Mining) has reported a precision for cellular automata integrated deep learning mechanism for
health informatics." Int. Arab J. Inf. Technol. 18.6 (2021):
782-788.
[11] Pokkuluri, Kiran Sree, and SSSN Usha Devi Nedunuri. "A

979-8-3503-2148-7/23/$31.00 ©2023 IEEE 53


Authorized licensed use limited to: PES University Bengaluru. Downloaded on October 14,2023 at 08:10:44 UTC from IEEE Xplore. Restrictions apply.
2023 3rd International Conference on Computing and Information Technology (ICCIT),
FCIT, University of Tabuk, KSA. 13 and 14/Sep/2023.

Novel Cellular Automata Classifier for COVID-19


Prediction." Journal of Health Sciences 10.1 (2020): 34-38.
[12] Sree, P. K. Deep Learning Mechanism Augmented with 16-
Hybrid Cellular Automata For Secondary Structure
Prediction. PP: 490-493 , Volume-9 Issue-2, December
2019, International Journal of Innovative Technology and
Exploring Engineering (IJITEE).
[13] Anh Khoa, Tran, et al. "Waste management system using
IoT-based machine learning in university." Wireless
Communications and Mobile Computing 2020 (2020): 1-
13.
[14] Xu, A., Chang, H., Xu, Y., Li, R., Li, X., & Zhao, Y. (2021).
Applying artificial neural networks (ANNs) to solve solid
waste-related issues: A critical review. Waste Management,
124, 385-402.
[15] Dias, J. L., Sott, M. K., Ferrão, C. C., Furtado, J. C., &
Moraes, J. A. R. (2021). Data mining and knowledge
discovery in databases for urban solid waste management:
A scientific literature review. Waste Management &
Research, 39(11), 1331-1340.

979-8-3503-2148-7/23/$31.00 ©2023 IEEE 54


Authorized licensed use limited to: PES University Bengaluru. Downloaded on October 14,2023 at 08:10:44 UTC from IEEE Xplore. Restrictions apply.

You might also like