<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "http://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">PJS</journal-id>
<journal-id journal-id-type="publisher-id">Premier Journal of Science</journal-id>
<journal-id journal-id-type="pmc">PJS</journal-id>
<journal-title-group>
<journal-title>PJ Science</journal-title>
</journal-title-group>
<issn pub-type="epub">3049-9011</issn>
<publisher>
<publisher-name>Premier Science</publisher-name>
<publisher-loc>London, UK</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.70389/PJS.100146</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>ORIGINAL RESEARCH</subject>
</subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Cognitive science</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Social sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Sensory perception</subject><subj-group><subject>Hallucinations</subject></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Social sciences</subject><subj-group><subject>Linguistics</subject><subj-group><subject>Grammar</subject><subj-group><subject>Phonology</subject><subj-group><subject>Syllables</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Engineering and technology</subject><subj-group><subject>Signal processing</subject><subj-group><subject>Speech signal processing</subject></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Cognitive science</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Social sciences</subject><subj-group><subject>Psychology</subject><subj-group><subject>Cognitive psychology</subject><subj-group><subject>Perception</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Sensory perception</subject></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Medicine and health sciences</subject><subj-group><subject>Mental health and psychiatry</subject><subj-group><subject>Schizophrenia</subject></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Research and analysis methods</subject><subj-group><subject>Bioassays and physiological analysis</subject><subj-group><subject>Electrophysiological techniques</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Physiology</subject><subj-group><subject>Electrophysiology</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Brain mapping</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical neurophysiology</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Research and analysis methods</subject><subj-group><subject>Imaging techniques</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject><subj-group><subject>Event-related potentials</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Cell biology</subject><subj-group><subject>Cellular types</subject><subj-group><subject>Animal cells</subject><subj-group><subject>Neurons</subject><subj-group><subject>Interneurons</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Cellular neuroscience</subject><subj-group><subject>Neurons</subject><subj-group><subject>Interneurons</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Research and analysis methods</subject><subj-group><subject>Bioassays and physiological analysis</subject><subj-group><subject>Electrophysiological techniques</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Physiology</subject><subj-group><subject>Electrophysiology</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neurophysiology</subject><subj-group><subject>Brain electrophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Brain mapping</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Medicine and health sciences</subject><subj-group><subject>Clinical medicine</subject><subj-group><subject>Clinical neurophysiology</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Research and analysis methods</subject><subj-group><subject>Imaging techniques</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Neuroscience</subject><subj-group><subject>Neuroimaging</subject><subj-group><subject>Electroencephalography</subject></subj-group></subj-group></subj-group></subj-group>
</article-categories>
<title-group>
<article-title>Aquatic Waste Sorting and Classification Using Image Processing and Detection System Using YOLOV8 Model and Django</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Gayathri</surname>
<given-names>J</given-names>
</name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yasir Hameed</surname>
<given-names>T</given-names>
</name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Thivakar</surname>
<given-names>V</given-names>
</name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Pranesh Akilan</surname>
<given-names>AR</given-names>
</name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Prabhu</surname>
<given-names>V</given-names>
</name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
</contrib>
<aff id="aff1"><sup>1</sup><institution>Assistant Professor, Department of ECE, Vel Tech Multi Tech Dr. Rangarajan Dr. Sakunthala Engineering College (Autonomous)</institution>, <city>Chennai</city>, <state>Tamil Nadu</state>, <country>India</country></aff>
<aff id="aff2"><sup>2</sup><institution>UG Scholar, Department of ECE, Vel Tech Multi Tech Dr. Rangarajan Dr. Sakunthala Engineering College (Autonomous)</institution>, <city>Chennai</city>, <state>Tamil Nadu</state>, <country>India</country></aff>
<aff id="aff3"><sup>3</sup><institution>Professor, Department of ECE, Vel Tech Multi Tech Dr. Rangarajan Dr. Sakunthala Engineering College (Autonomous)</institution> <city>Chennai</city>, <state>Tamil Nadu</state>, <country>India</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor001"><bold>Correspondence to:</bold> J Gayathri, <email>gayathrij@veltechmultitech.org</email></corresp>
<fn fn-type="other"><p>Peer Review</p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>27</day>
<month>12</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<month>12</month>
<year>2025</year>
</pub-date>
<volume>15</volume>
<issue>1</issue>
<elocation-id>100146</elocation-id>
<history>
<date date-type="received">
<day>14</day>
<month>08</month>
<year>2025</year>
</date>
<date date-type="rev-recd">
<day>26</day>
<month>09</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>01</day>
<month>10</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-year>2025</copyright-year>
<copyright-holder>J Gayathri, T Yasir Hameed, V Thivakar, AR Pranesh Akilan and V Prabhu</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="info:doi/10.70389/PJS.100146"/>
<abstract>
<p>In waste management, efficient and automated sorting systems are critical in enhancing recycling processes and reducing labor. A real-time waste sorting method has been developed using YOLOv8, a state-of-the-art object detection model, in detecting and classifying plastics, metals, glass, and paper. It works by capturing live video feeds and then processes every frame through YOLOv8 for object detection; it also provides the output through a web interface that has been developed with Django. With YOLOv8&#x2019;s capability of real-time object detection, it can classify waste materials at high speed and accuracy to ensure sorting can be carried out without substantial delays, thereby being suitable for dynamic and high-throughput environments like recycling plants or municipal waste management facilities. The problem of proper waste management is an acute global concern, especially in aquatic ecosystems, where pollution poses significant threats to ecological integrity and public health. This introduces a new approach: front-end development through HTML, CSS, and back-end development using Python language with Anaconda to develop an environment that can be used to deploy an API. The most outstanding feature is giving the system real-time feedback that improves rapid classification without increasing errors in waste sorting. It is designed to be scalable, thus fitting diverse operation settings such as municipal waste management facilities, industrial recycling centers, and even remote aquatic environments.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Aquatic waste detection</kwd>
<kwd>YOLOv8 object detection</kwd>
<kwd>Underwater image processing</kwd>
<kwd>Real-time waste sorting</kwd>
<kwd>Django-based web interface</kwd>
</kwd-group>
<counts>
<fig-count count="3"/>
<table-count count="1"/>
<page-count count="6"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>Version accepted</meta-name>
<meta-value>3</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec>
<title><ext-link ext-link-type="uri" xlink:href="https://premierscience.com/wp-content/uploads/2025/15/pjs-25-1220.pdf">Source-File: pjs-25-1220.pdf</ext-link></title>
</sec>
<sec id="sec001" sec-type="intro">
<title>Introduction</title>
<p>Waste management is considered to be one of the serious issues in modern times. The day-to-day waste quantity has reached threatening proportions due to the increase in population in towns and expanded industrial activities. Lousy waste management, largely caused by the lack of effective waste sorting and recycling is accelerating environmental problems such as land degradation, water contamination, and emission of gases into the atmosphere. Manual sorting methods, which are still in use, rely on substantial human labor inputs, are slow, and error-prone. Besides that, the process leaves employees vulnerable to toxic wastes, making the system not only inefficient but also unsafe. With the emergence of AI and machine learning, comes the idea of automating waste management systems and improvising them.</p>
<p>Since object detection models are AI technologies, they can look for objects in images or video streams and classify them accordingly, thus promising avenues toward automation of the process of waste sorting. Therefore, if such intelligent systems were combined with scalable software solutions, then it would bring about a revolution in managing waste with much less human effort. The is to develop software-intensive waste sorting using YOLOv8. Initial testing conditions of lighting, water turbidity, and debris obstruction. It makes the solution flexible and accessible by incorporating a user interface that properly allows the interaction of data, supports historical analysis, and enhances reporting. It is an attempt not only to solve the shortcomings of conventional manual sorting but also to make it sustainable through reduced pollution and increased recycling.</p>
</sec>
<sec id="sec002">
<title>Current Works</title>
<p>The method to analyze using seven underwater image enhancement algorithms representing the state-of-the-art detection model.<sup><xref ref-type="bibr" rid="ref1">1</xref></sup> A Convolutional Neural Network (CNN) starts by applying convolution and pooling operations. These steps help to analyze and break down the input image, identifying and extracting important features such as edges, textures, and patterns, which are crucial for further processing and understanding the image&#x2019;s content. The result of this process is then fed into a fully connected neural network, driving the final classification decision for the input image. The study focuses on evaluating how well min-terms perform in the task of image annotation, particularly for deep-learning applications.<sup><xref ref-type="bibr" rid="ref2">2</xref></sup> It examines their role and effectiveness in accurately labeling and categorizing images, which is a crucial step in training deep learning models for various image recognition and analysis tasks. Besides Mask RCNN, other popular architectures such as YOLO or Retina Net can be used.</p>
<list list-type="order">
<list-item><p>The potential of deep learning in waste management in densely populated and industrial environments. Most automated sorting systems operate for limited target waste items. Emerging advances and increasing functionalities of robot system components will widen system applicability and increase use cases in the chaotic industrial waste domain. This offered waste sorting and a robust solution for sustainable waste management.</p></list-item>
<list-item><p>To achieve recycling of mixed industrial waste items toward an advanced sustainable society, waste sorting automation by robots is crucial and urgent<bold>.</bold> The presence of contamination in recycling processing units causes major impacts in the recycling rates, leading to the rejection of entire loads while waste management. This offered the necessity for robots to recognize the categories, poses, and conditions of different waste items and manipulate them based on the category to be sorted.</p></list-item>
<list-item><p>Insights on the potential of blockchain technology to enhance waste management, addressing issues of manual and centralized systems that are prone to manipulation and failure. This analysis assumes a known geometrical configuration of the rectified camera system. The critical factor limiting the 3D object metric estimation accuracy is the resolution of the computed depth maps of fish. Object-based matching is proposed for underwater object tracking and depth computing to address this issue using reliable convolutional neural networks (CNNs).</p></list-item>
<list-item><p>For each stereo video frame, an object classification and instance segmentation CNN separates the object from its background. The objects are cropped and then matched using sub-pixel disparity computation of the video interpolation CNN. To deal with the limitations of distance or range of the low-cost stereo camera system more mechanisms are incorporated to increase accuracy. Three hybrid Classical-Quantum neural networks ResNet50-QCNN, ResNet18-QCNN, and InceptionV3-QCNN have been proposed for underwater quantum-classical Animal Identification and Classification. It significantly lessens the complexity of classical computer processing data by using quantum devices to minimize dimension and denoise data sets.</p></list-item>
<list-item><p>The numerical simulation results demonstrate that the quantum algorithm is capable of effective dimensionality reduction and improves accuracy. To achieve more accurate images and results, it is necessary to expand the training data by adding more image datasets for the instance segmentation neural network. This increase in data will help the network learn a broader range of features, improving its ability to segment and classify objects more precisely.</p></list-item>
</list>
</sec>
<sec id="sec003">
<title>Proposed Methodology</title>
<p>The automated aquatic waste detection and sorting system using YOLOv8 is the proposed work that addresses all the barriers associated with waste management since an auto process for waste material segregation and categorization is enabled. By utilizing the cutting-edge object detection model, it helps users identify the type of waste they are dealing with. This advanced technology ensures accurate classification including, recyclable wastes, biodegradable waste, and the type of waste not to recycle. Comparative analysis shows YOLOv8 achievesv 82% mAp compared to 78% for YOLOv5 and 75% for EfficinetDet. So, this system uses YOLOv8 and also this supports suitability for realtime embedde deployment.<sup><xref ref-type="bibr" rid="ref3">3</xref></sup> The basic structure of architecture bases its work on the platform Django. The whole system gives instant feedback. After the removal of waste, it shows the intended category to the users and teaches them how to sort properly. This characteristic increases the effectiveness of waste management through reduced errors in sorting and responsible recycling behavior. This system enables a more efficient and environmentally friendly approach toward waste management through the combination of precision capabilities inherent in YOLOv8 with the intuitive interface offered by Django.</p>
<p><xref ref-type="fig" rid="F1">Figure 1</xref> shows the overall system architecture. The figure emphasizes the YOLOv8 model pipeline for object detection, integration for data logging and realtime visualizations, The architecture depicts how camera input is processed,results are stored, and presented through the Django interface. Feedback loop and user input flow are also shown to highlight adaptive learning. This system has been developed to identify and categorize underwater waste instantaneously by employing YOLOv8 (You Only Look Once Version 8) and model was trained for 100 epochs with a batch size of 16 and a learning rate of 0.0001.<sup><xref ref-type="bibr" rid="ref4">4</xref></sup> Training was done on an NVIDIA RTX 3060 GPU using Ultralytics PYTorch framework. The training converged after 78 epochs. Yolov8 represents a state-of-the-art deep learning model distinguished for its rapidity and accuracy, rendering it ideally suited for aquatic settings where timely decision-making is essential. It trains the YOLOv8 using a heterogeneous dataset of plastics, metals, and organic materials. Using CNNs, the system can identify and classify different types of waste starting from aquatic images or video streams. The presence of Django helps in web applications which allows users to interact with the data, view visualizations, and generate reports. In addition to enhancing the efficiency of waste classification, this system promotes environmental sustainability through an understanding of waste trends and optimizing recycling efforts as shown in <xref ref-type="fig" rid="F1">Figure 1</xref>. This system architecture with real-time capabilities powered by YOLOv8, is central to automating underwater waste management and the support of ocean conservation efforts.</p>
<fig id="F1" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100146.g001</object-id>
<label>Fig 1</label>
<caption><title>System architecture of deployment framework</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1220-Figure-1.webp?">Figure 1</ext-link></p>
</fig>
<p><xref ref-type="fig" rid="F2">Figure 2</xref> (a to d) together illustrate the web-based system interface. The automated aquatic waste detection and sorting system integrates the YOLOv8 model with Django and OpenCV to create an efficient framework for detecting underwater waste. OpenCV will handle the live feed and image preprocesses; it includes re-sizing, normalization, and data augmentation. All these improve the quality of the input data to ensure efficient performance by the YOLOv8. The YOLOv8 looks into the images or videos and discovers different types of waste, including plastics, metals, and organic materials. From there it is possible to display the results immediately, raise alerts, or give useful information regarding the type and quantity of waste. Django was used to reveal restful API endpoints for real-time push/pull operations of data. The PostgreSQL database was used to store detection logs and waste category metadata. The backend also managed user autentication, session management, and submission of feedback. Django is a high-level web framework for Python that assists in making the development of secure, reliable, scalable web applications so much easier. This allows developers more freedom to implement meaningful features as most repetitive tasks in building a site have been taken over by it. It is open source, very well documented, and supported by a very vibrant community of developers. This flexibility makes it an excellent choice for this system, enabling the development of a robust web application that allows users to interact with real-time data effectively. The data is around 30% plastics, 25% metal, 15% glass, 30% other rubbish images (like misc, mask, net, etc..). Each class includes more than 500 labeled examples.<sup><xref ref-type="bibr" rid="ref5">5</xref></sup></p>
<fig id="F2" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100146.g002</object-id>
<label>Fig 2</label>
<caption><title>(a to d) Website Pages</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1220-Figure-2.webp?">Figure 2</ext-link></p>
</fig>
<p>Landing page is the front-end user interface that is designed as shown in <xref ref-type="fig" rid="F2">Figure 2(a)</xref> which involves the interface to create an account or register the user to enable access to operate the functions. The camera access page is where the user will be guided to access the camera as shown in <xref ref-type="fig" rid="F2">Figure 2 (b)</xref>, where they will be given options of choosing a camera for image or video capture. After capturing data as input the Detection page is opened as shown in <xref ref-type="fig" rid="F2">Figure 2(c)</xref> and the detection process will be initiated then the result will be displayed as a table with values in the Result Database page as shown in <xref ref-type="fig" rid="F2">Figure 2 (d)</xref>.</p>
<p>Roboflow makes the detailed workflow related to preparing, using, and applying data sets for computer vision tasks an invaluable tool for developers and data scientists. It begins with uploading your dataset; at this point, users can easily annotate images or import existing annotations in various formats. It makes preprocessing techniques like resizing and cropping, or other data augmentation methods like flip, rotation, or color changes effortless and user-friendly, which are very essential in improving the generalizability of machine learning models. Once you have prepared your dataset, you can create several versions of a design and experiment with several preprocessing, methods and augmentation techniques without altering your original data. This is especially helpful for sorting a few versions of your dataset adapted for different training situations of models. Roboflow can export data sets in compatible formats for multiple machine learning frameworks, including YOLO, TensorFlow, PyTorch, and others, which means exports can be easily utilized for local and cloud-based training, with Roboflow providing sample training scripts to help users initiate the process.<sup><xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref7">7</xref></sup> Roboflow allows hyperparameters like learning rate, batch size, and epochs to be fine-tuned to achieve a better performance in the model. Once trained, the service gives the user all the tools to test their model. Thus, the above metrics like accuracy, precision, recall, and F1-score can be computed to check if the model fits the criteria. In terms of deployment, it offers flexibility through the interference API and supports the use of any cloud-based alternatives for deployment, which would allow the integration of a trained model into a working application promptly. Roboflow encourages further improvement through constant augmentation of the dataset and incorporation of fresh data or feedback to help continuously improve the model. Such an all-rounded approach ensures that computer vision models perform optimally without much resistance.<sup><xref ref-type="bibr" rid="ref8">8</xref></sup></p>
<p><xref ref-type="fig" rid="F2">Figure 2</xref> This web application covers several of the most basic perspectives and functions tailored for specific purposes. The landing page is built using the 1_Landing.html template within the Landing_1 view, which nudges the user to register as a member of the website. The Register_2 view permits users to register by providing them with a registration form, 2_Register.html, after making a GET request. Upon receiving a POST request, the system validates the submitted information, saves the valid entries to the database, and then redirects users to the login page with a success message. The Login_3 view enables users to access their accounts via the 3_Login.html web page. It handles POST requests by retrieving the username and password, and subsequently verifying the user&#x2019;s credentials. Upon successful verification, users are redirected to the home page (4_Home.html); conversely, if there are errors, they are directed back to the login page accompanied by an error message. The Per_Info_8 view oversees the input of personal information, guaranteeing that all details are correctly completed and validated prior to receiving approval.<sup><xref ref-type="bibr" rid="ref9">9</xref></sup> On successful submission of the form, users will be directed to the home page, 4_Home.html; in case the form was not submitted successfully, then the personal info form, 8_Per_Info.html, will appear again. For real-time object detection and classification, the Deploy_9 view will turn on webcam video or photo capture, and use YOLOv8 to detect objects and their classes and record these in an Excel workbook for higher accuracy. These functions help the waste sorting system&#x2019;s database in storing detected models, which include video frame, object type, confidence level, and accuracy, as enumerated in the detected model database. Every view maps to a unique HTML page presented to the users for interaction, where users could feed customized data adjusted to every view&#x2019;s intention.</p>
<p>Algorithm related to Django App:</p>
<p>1. Explain Views:</p>
<p>Landing_1 (User Onboarding Interface)</p>
<p>Unlike a generic landing page, this view is tailored for an aquatic waste detection system, guiding users into a specialized workflow (account creation &#x2192; camera access &#x2192; detection results).</p>
<p>The novelty lies in how the page connects users directly to the real-time waste classification pipeline rather than serving as a static page.</p>
<p>Register_2 (Custom Registration Flow)</p>
<p>This view not only handles GET/POST requests for user registration but also links each registered account to detection history and waste classification logs stored in PostgreSQL.</p>
<p>Unlike generic registration in Django, this enables personalized tracking of aquatic waste detection data for each user (helpful in research, analytics, or industry reporting).</p>
<p>Novelty: Integration of user identity with real-time detection results, making the system suitable for scalable monitoring across multiple operators or locations.</p>
<p>Login_3: This page allows a user to log in.</p>
<p>When it receives a POST request: Extracts username and password from the incoming request.</p>
<p>A user can be logged into a Django application via the provided credentials, by calling the authenticate command.</p>
<p>If the user has provided the right credentials: The user will access their account.</p>
<p>To Home page with Address (Home_4) is chosen.</p>
<p>Otherwise: The system will generate an error message. The system will produce the login page; its number is 3 (3_Login.html)</p>
<p>2. Explain the Submission of Personal Details:</p>
<p>Per Info_8:</p>
<p>When the system has received a POST request: The user personal information must be filled out and validated for accuracy before it can be approved by the system.</p>
<p>The next destination will be the Home page (4_Home.html).</p>
<p>Otherwise: Pages containing details pertaining to personal information (8_Per_Info.html) will be displayed.</p>
<p>3. Object Detection and Classification in real-time:</p>
<p>Deploy_9: When it receives a POST request, Real time means webcam is activated, and takes videos or photos.</p>
<p>Related YOLOv8 which gives class names for detection.</p>
<p>Begin by creating an Excel workbook to hold the results.</p>
<p>Annotated frames shows the previous patterns improving the accuracy to be more than 70%.</p>
<p>4. Database Functions:</p>
<p>Persist the models detected in the set of Detected Model DB with the following fields: Video frame, Type of the object, Level of confidence (Accuracy).</p>
<p>5. User Interface Creation:</p>
<p>For every view created, a corresponding htmpl page is created for the user to fill in the costumized input.<sup><xref ref-type="bibr" rid="ref10">10</xref>,<xref ref-type="bibr" rid="ref11">11</xref></sup></p>
</sec>
<sec id="sec004">
<title>Result and Discussion</title>
<p>The result for the waste detection and sorting is displayed and the input image of the video after detection will be shown with the confidence level of the detection, the data is stored in the result table as shown in the form of database.<sup><xref ref-type="bibr" rid="ref12">12</xref></sup></p>
<p><xref ref-type="fig" rid="F3">Figure 3</xref>: Output showing that the net, plastics, glasses, metals, etc&#x2026; waste detected with bounding boxes and confidence scores. Visual confirmation demonstrates the reliablity of the trained model. However there are some limitations are exists.<sup><xref ref-type="bibr" rid="ref13">13</xref>,<xref ref-type="bibr" rid="ref14">14</xref></sup> The detection performance suffers in low-light and turbid water conditions,with a significant decline in precision.Overlapping or partially occluded objects also results in misclassifications or reduced confidence scores.</p>
<fig id="F3" position="float">
<object-id pub-id-type="doi">10.70389/journal.PJS.100146.g003</object-id>
<label>Fig 3</label>
<caption><title>Input Data Captured and Confidence Percentage</title></caption>
<p><ext-link ext-link-type="uri" xlink:href="https://i0.wp.com/premierscience.com/wp-content/uploads/2025/15/pjs-25-1220-Figure-3.webp?">Figure 3</ext-link></p>
</fig>
<p><xref ref-type="table" rid="T1">Table 1</xref>, where the parameters like Frame Number, Class Name, Confidence, Coordinates are stored as shown in Table 1 for efficient data analysis. The Class Name specifies the type of waste object detected, the objects are classified as net, pbottle (plastic bottles), pbag (plastic bag), mask, gbottle (glass bottle), tire, metal, glove, and electronics. The confidence level is the parameter used to determine the accuracy of the system about the object detection as shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. If the detection level is above 50 it is considered to be accurate. The coordinates are used to determine which object is detected in the frame input of multiple objects. It improves multi-detecting efficiency and accuracy. This database can be accessed to improve waste management and sorting of waste efficiently <xref ref-type="fig" rid="F3">Figure 3</xref>.<sup><xref ref-type="bibr" rid="ref15">15</xref></sup> This enhances the system to analyze data regarding the aquatic wastes and the data stored can be used to provide proper handling of aquatic wastes.</p>
<table-wrap id="T1">
<label>Table 1</label>
<caption><title>Data Acquistion Table (Database)</title></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Frame Number</th>
<th valign="top" align="left">Class Name</th>
<th valign="top" align="center">Confidence</th>
<th valign="top" align="center">Coordinates</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="left">net</td>
<td valign="top" align="center">81</td>
<td valign="top" align="center">(410, 0) to (476, 101)</td>
</tr>
<tr>
<td valign="top" align="left">2</td>
<td valign="top" align="left">pbottle</td>
<td valign="top" align="center">66</td>
<td valign="top" align="center">(514, 3) to (640, 367)</td>
</tr>
<tr>
<td valign="top" align="left">3</td>
<td valign="top" align="left">pbag</td>
<td valign="top" align="center">94</td>
<td valign="top" align="center">(0, 188) to (330, 445)</td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="left">pbottle</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">(487, 0) to (640, 350)</td>
</tr>
<tr>
<td valign="top" align="left">5</td>
<td valign="top" align="left">mask</td>
<td valign="top" align="center">76</td>
<td valign="top" align="center">(464, 3) to (640, 356)</td>
</tr>
<tr>
<td valign="top" align="left">6</td>
<td valign="top" align="left">gbottle</td>
<td valign="top" align="center">63</td>
<td valign="top" align="center">(80, 0) to (284, 303)</td>
</tr>
<tr>
<td valign="top" align="left">7</td>
<td valign="top" align="left">tire</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">(0, 0) to (116, 362)</td>
</tr>
<tr>
<td valign="top" align="left">8</td>
<td valign="top" align="left">tire</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">(1, 0) to (247, 470)</td>
</tr>
<tr>
<td valign="top" align="left">9</td>
<td valign="top" align="left">pbag</td>
<td valign="top" align="center">91</td>
<td valign="top" align="center">(2, 0) to (312, 460)</td>
</tr>
<tr>
<td valign="top" align="left">10</td>
<td valign="top" align="left">pbag</td>
<td valign="top" align="center">81</td>
<td valign="top" align="center">(106, 403) to (264, 479)</td>
</tr>
<tr>
<td valign="top" align="left">11</td>
<td valign="top" align="left">pbottle</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">(162, 404) to (263, 480)</td>
</tr>
<tr>
<td valign="top" align="left">12</td>
<td valign="top" align="left">pbottle</td>
<td valign="top" align="center">80</td>
<td valign="top" align="center">(162, 404) to (262, 480)</td>
</tr>
<tr>
<td valign="top" align="left">13</td>
<td valign="top" align="left">pbottle</td>
<td valign="top" align="center">85</td>
<td valign="top" align="center">(314, 21) to (453, 290)</td>
</tr>
<tr>
<td valign="top" align="left">14</td>
<td valign="top" align="left">pbag</td>
<td valign="top" align="center">95</td>
<td valign="top" align="center">(322, 41) to (450,294)</td>
</tr>
<tr>
<td valign="top" align="left">15</td>
<td valign="top" align="left">pbag</td>
<td valign="top" align="center">95</td>
<td valign="top" align="center">(70, 32) to (80, 44)</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec005" sec-type="conclusions">
<title>Conclusion</title>
<p>This proposed work achieved automatic separation of waste, with further processing in real-time over video streams, identification of waste objects promptly, and classifies different materials, like plastics, metal, and glass. The real-time detection capability of the system was also subjected to rigorous testing, and this work was proven to operate consistently across various environments while processing video streams without evident delays. Effective implementation in the waste management industry necessitates real-time processing capability since rapid and accurate sorting is needed to enable effective operations. In conclusion, this work satisfies the demand for automation in the sorting of wastes, efficiency is improved, and there are plenty of scopes for improvement and possible future development. One future scope of exploration includes increasing the range of types of waste categorized by the system. In the proposed work, only basic categories of waste like plastics, metals, and glass can be detected by the system.</p>
<p>Future works could focus on optimizing real-time processing capabilities to further reduce latency in aquatic waste sorting management and can improve image quality by deploying better image processing mechanisms to get high-defined images for input from the underwater environment.</p>
</sec>
</body>
<back>
<fn-group>
<fn id="n1" fn-type="other">
<p>Additional material is published online only. To view please visit the journal online.</p>
<p><bold>Cite this as:</bold> Gayathri J, Yasir Hameed T, Thivakar V, Pranesh Akilan AR and Prabhu V. Aquatic Waste Sorting and Classification Using Image Processing and Detection System Using Yolov8 Model and Django. Premier Journal of Science 2025;15:100146</p>
<p><bold>DOI:</bold> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.70389/PJS.100146">https://doi.org/10.70389/PJS.100146</ext-link></p>
</fn>
<fn id="n2" fn-type="other">
<p><bold>Ethical approval</bold></p>
<p>N/a</p>
</fn>
<fn id="n3" fn-type="other">
<p><bold>Consent</bold></p>
<p>N/a</p>
</fn>
<fn id="n4" fn-type="other">
<p><bold>Funding</bold></p>
<p>No industry funding</p>
</fn>
<fn id="n5" fn-type="conflict">
<p><bold>Conflicts of interest</bold></p>
<p>N/a</p>
</fn>
<fn id="n6" fn-type="other">
<p><bold>Author contribution</bold></p>
<p>J Gayathri, T Yasir Hameed, V Thivakar, AR Pranesh Akilan and V Prabhu &#x2013; Conceptualization, Writing &#x2013; original draft, review and editing</p>
</fn>
<fn id="n7" fn-type="other">
<p><bold>Guarantor</bold></p>
<p>J Gayathri</p>
</fn>
<fn id="n8" fn-type="other">
<p><bold>Provenance and peer-review</bold></p>
<p>Unsolicited and externally peer-reviewed</p>
</fn>
<fn id="n9" fn-type="other">
<p><bold>Data availability statement</bold></p>
<p>N/a</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="ref1"><label>1</label><mixed-citation publication-type="journal"><string-name><surname>Han</surname> <given-names>F.</given-names></string-name>, <string-name><surname>Yao</surname> <given-names>J.</given-names></string-name>, <string-name><surname>Zhu</surname> <given-names>H.</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>C.</given-names></string-name>, &#x201C;<article-title>Underwater image processing and object detection based on deep CNN method</article-title>&#x201D; May <year>2020</year>.</mixed-citation></ref>
<ref id="ref2"><label>2</label><mixed-citation publication-type="journal"><string-name><surname>Kellow</surname> <given-names>P.</given-names></string-name>, <string-name><surname>Joel J P</surname> <given-names>R.</given-names></string-name>, <string-name><surname>Ousmane</surname> <given-names>D.</given-names></string-name>, <string-name><surname>Ashok Kumar</surname> <given-names>D.</given-names></string-name>, <string-name><surname>Victor Hugo C</surname> <given-names>A.</given-names></string-name>, and<string-name><surname>Sergei A</surname> <given-names>K.</given-names></string-name>, &#x201C;<article-title>A smart waste management solution geared towards citizens</article-title>&#x201D; April <year>2020</year>.</mixed-citation></ref>
<ref id="ref3"><label>3</label><mixed-citation publication-type="journal"><string-name><surname>Demetriou</surname> <given-names>D.</given-names></string-name>, <string-name><surname>Robert</surname> <given-names>P.M.</given-names></string-name>, <string-name><surname>Papadopoulous</surname> <given-names>H.</given-names></string-name>, <string-name><surname>Petrou</surname> <given-names>M.F.</given-names></string-name>,and <string-name><surname>Nicolaides</surname> <given-names>D.</given-names></string-name>, &#x201C;<article-title>Real-time construction demolition waste detection using state-of-the-art deep learning methods: single-stage vs two stage detectors</article-title>&#x201D; July <year>2023</year>.</mixed-citation></ref>
<ref id="ref4"><label>4</label><mixed-citation publication-type="journal"><string-name><surname>Ogrezeanu</surname> <given-names>A.</given-names></string-name>, <string-name><surname>Suciu</surname> <given-names>C.</given-names></string-name>, and<string-name><surname>Itu</surname> <given-names>L.M.</given-names></string-name>, &#x201C;<article-title>Automated waste sorting: A comprehensive approach using deep learning for detection and classification</article-title>&#x201D; June <year>2023</year>.</mixed-citation></ref>
<ref id="ref5"><label>5</label><mixed-citation publication-type="journal"><string-name><surname>Yang</surname> <given-names>J.</given-names></string-name>, <string-name><surname>Cai</surname> <given-names>M.</given-names></string-name>, <string-name><surname>Yang</surname> <given-names>X.</given-names></string-name>, and <string-name><surname>Zhou</surname> <given-names>Z.</given-names></string-name>, &#x201C;<article-title>Underwater image classification algorithm based on convolutional neural network and optimized extreme learning machine</article-title>&#x201D; Dec <year>2022</year>.</mixed-citation></ref>
<ref id="ref6"><label>6</label><mixed-citation publication-type="journal"><string-name><surname>Li</surname> <given-names>C.</given-names></string-name>, <string-name><surname>Guo</surname> <given-names>C.</given-names></string-name>, <string-name><surname>Ren</surname> <given-names>W.</given-names></string-name>, <string-name><surname>Cong</surname> <given-names>R.</given-names></string-name>, <string-name><surname>Hou</surname> <given-names>J.</given-names></string-name>, <string-name><surname>Kwong</surname> <given-names>S.</given-names></string-name>, and <string-name><surname>Tao</surname> <given-names>D.</given-names></string-name>, &#x201C;<article-title>An underwater image enhancement benchmark dataset and beyond</article-title>&#x201D; Oct <year>2020</year>.</mixed-citation></ref>
<ref id="ref7"><label>7</label><mixed-citation publication-type="journal"><string-name><surname>Panetta</surname> <given-names>K.</given-names></string-name>, <string-name><surname>Kezebou</surname> <given-names>L.</given-names></string-name>, <string-name><surname>Oludare</surname> <given-names>V.</given-names></string-name>, and<string-name><surname>Agaian</surname> <given-names>S.</given-names></string-name>, &#x201C;<article-title>Comprehensive underwater object tracking benchmark dataset and underwater image enhancement with GAN</article-title>&#x201D; Jan <year>2022</year>.</mixed-citation></ref>
<ref id="ref8"><label>8</label><mixed-citation publication-type="journal"><string-name><surname>Burguera</surname> <given-names>A.</given-names></string-name>, &#x201C;<article-title>Segmentation through patch classification: A neural network approach to detect Posidonia ocean in underwater images</article-title>&#x201D; March <year>2020</year>.</mixed-citation></ref>
<ref id="ref9"><label>9</label><mixed-citation publication-type="journal"><string-name><surname>Li</surname> <given-names>D.</given-names></string-name>, <string-name><surname>Hao</surname> <given-names>Y.</given-names></string-name>, and <string-name><surname>Duan</surname> <given-names>Y.</given-names></string-name>, &#x201C;<article-title>Non-intrusive methods for biomass estimation in aquaculture with emphasis</article-title>&#x201D; Aug <year>2020</year>.</mixed-citation></ref>
<ref id="ref10"><label>10</label><mixed-citation publication-type="journal"><string-name><surname>Zhou</surname> <given-names>K.</given-names></string-name>, <string-name><surname>Meng</surname> <given-names>X.</given-names></string-name>, and <string-name><surname>Cheng</surname> <given-names>B.</given-names></string-name>, &#x201C;<article-title>Review of stereo matching algorithms based on deep learning</article-title>&#x201D; March <year>2020</year>.</mixed-citation></ref>
<ref id="ref11"><label>11</label><mixed-citation publication-type="journal"><string-name><surname>Bobulski</surname> <given-names>J.</given-names></string-name>,<string-name><surname>Kubanek</surname> <given-names>M.</given-names></string-name>, &#x201C;<article-title>Deep learning for plastic waste classification system</article-title>&#x201D; May <year>2021</year>.</mixed-citation></ref>
<ref id="ref12"><label>12</label><mixed-citation publication-type="journal"><string-name><surname>Yu</surname> <given-names>C.</given-names></string-name>, <string-name><surname>Hu</surname> <given-names>Z.</given-names></string-name>, <string-name><surname>Han</surname> <given-names>B.</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>P.</given-names></string-name>, <string-name><surname>Zhao</surname> <given-names>Y.</given-names></string-name>, and <string-name><surname>Wu</surname> <given-names>H.</given-names></string-name>, <article-title>>Intelligent measurement of morphological characteristics of sh using improved U-Net, Electronics</article-title>, vol. <volume>10</volume>, no. <issue>12</issue>, p. <fpage>1426</fpage>, Jun. <year>2021</year>.</mixed-citation></ref>
<ref id="ref13"><label>13</label><mixed-citation publication-type="journal"><string-name><surname>Xiao</surname> <given-names>J.</given-names></string-name>, <string-name><surname>Ma</surname> <given-names>D.</given-names></string-name>, and <string-name><surname>Yamane</surname> <given-names>S.</given-names></string-name>, <article-title>Optimizing 3D convolution kernels on stereo matching for resource efficient computations Sensors</article-title>, vol. <volume>21</volume>, no. <issue>20</issue>, p. <fpage>6808</fpage>, Oct. <year>2021</year>.</mixed-citation></ref>
<ref id="ref14"><label>14</label><mixed-citation publication-type="journal"><string-name><surname>Yeh</surname> <given-names>C.H.</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>C.-H.</given-names></string-name>, and <string-name><surname>Kang</surname> <given-names>L.-W.</given-names></string-name>, <article-title>Multi-scale deep residual learning-based single image haze removal via image decomposition</article-title>, <source>IEEE Trans.Image Process</source>., vol. <volume>29</volume>, no. <issue>1</issue>, pp. <fpage>31533167</fpage>, Dec. <year>2020</year>.</mixed-citation></ref>
<ref id="ref15"><label>15</label><mixed-citation publication-type="journal"><string-name><surname>Panwar</surname> <given-names>H.</given-names></string-name>, <string-name><surname>Gupta</surname> <given-names>P.K.</given-names></string-name>, <string-name><surname>Siddiqui</surname> <given-names>M.K.</given-names></string-name>, <string-name><surname>Morales-Menendez</surname> <given-names>R.</given-names></string-name>, <string-name><surname>Bhardwaj</surname> <given-names>P.</given-names></string-name>, <string-name><surname>Sharma</surname> <given-names>S.</given-names></string-name>, and <string-name><surname>Sarker</surname> <given-names>I.H.</given-names></string-name>, &#x201C;<article-title>Aquavision: Automating the detection of waste in water bodies using deep transfer learning</article-title>&#x201D; Sep <year>2020</year>.</mixed-citation></ref>
</ref-list>
</back>
</article>
