CCTV-Based River Waste Detection Using a Hybrid CNN–Graph Attention Network with Spatial–Contextual Feature Learning

Authors

  • Asep Surahmat Faculty Technology and Design, Utpadaka Swastika University, Indonesia
  • Lukas Umbu Zogara Faculty Technology and Design, Utpadaka Swastika University, Indonesia
  • Fajar Muttaqi Faculty Technology and Design, Utpadaka Swastika University, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.3.5544

Keywords:

CCTV Imagery, Environmental Monitoring, Graph Neural Network, River Waste Detection, Spatial–Contextual Features

Abstract

River waste accumulation has become a serious environmental problem in urban areas, particularly in highly polluted rivers such as the Angke River in Tangerang, where floating waste disrupts ecological balance and increases flood risk. Conventional computer vision–based detection methods often fail under dynamic river conditions due to water surface reflections, turbulence, occlusion, and visually ambiguous debris. This study aims to improve the accuracy and robustness of river waste detection by proposing a hybrid deep learning framework that integrates convolutional and graph-based spatial–contextual reasoning. The proposed method utilizes a ResNet50 backbone for feature extraction from CCTV imagery, followed by spatial graph construction that models adjacency relationships between image regions. A Graph Attention Network (GAT) is then applied to capture contextual dependencies and refine feature representations prior to classification. Unlike conventional CNN-only or YOLO-based detectors that rely primarily on local visual cues and bounding-box representations, the proposed approach explicitly models spatial–contextual relationships between image regions through graph-based attention mechanisms. Experiments were conducted on 4,200 CCTV image frames collected from the Angke River under varying environmental conditions. The proposed model achieved an accuracy of 92.4%, precision of 91.1%, recall of 93.2%, F1-score of 91.9%, and a mean Average Precision (mAP) of 0.78, outperforming CNN-only and YOLO-based baseline models. These findings highlight the contribution of graph-enhanced visual reasoning to the fields of Computer Vision and Intelligent Surveillance, particularly for real-time environmental monitoring systems operating in complex and dynamic visual environments.

Downloads

Download data is not yet available.

References

X.-M. Chen et al., “Conflict between urbanization and water environmental protection: Lessons from the Xiangjiang River Basin in China.,” Water research, vol. 252, hal. 121237, 2024, doi: 10.1016/j.watres.2024.121237.

S. Syafri, B. Surya, R. Ridwan, S. Bahri, E. Rasyidi, dan S. Sudarman, “Water Quality Pollution Control and Watershed Management Based on Community Participation in Maros City, South Sulawesi, Indonesia,” Sustainability, 2020, doi: 10.3390/su122410260.

E. MacAfee dan A. Löhr, “Multi‐scalar interactions between mismanaged plastic waste and urban flooding in an era of climate change and rapid urbanization,” Wiley Interdisciplinary Reviews: Water, vol. 11, 2023, doi: 10.1002/wat2.1708.

T. Gutsa, C. Trois, R. De Vries, dan T. Mani, “Wasted shores: Using drones to monitor the spatio-temporal evolution of debris accumulation hotspots on South Africa’s Umgeni River.,” The Science of the total environment, hal. 176791, 2024, doi: 10.1016/j.scitotenv.2024.176791.

H. Jeon, H. Kim, D. Kim, dan J. Kim, “PASS-CCTV: Proactive Anomaly surveillance system for CCTV footage analysis in adverse environmental conditions,” Expert Syst. Appl., vol. 254, hal. 124391, 2024, doi: 10.1016/j.eswa.2024.124391.

K. Muhammad, M. Obaidat, dan M. Tanveer, “Fuzzy Logic in Surveillance Big Video Data Analysis,” ACM Computing Surveys (CSUR), vol. 54, hal. 1–33, 2021, doi: 10.1145/3444693.

B. M. Pati et al., “Leveraging UAV Data and Deep Learning Models for Detecting Waste in Rivers,” IEEE Access, vol. 13, hal. 99603–99627, 2025, doi: 10.1109/access.2025.3576295.

Z. Su et al., “Rapid Salient Object Detection with Difference Convolutional Neural Networks,” IEEE transactions on pattern analysis and machine intelligence, vol. PP, 2025, doi: 10.1109/tpami.2025.3583968.

Z. Jiang, B. Wu, Long, H. Zhang, dan J. Lian, “APM-YOLOv7 for Small-Target Water-Floating Garbage Detection Based on Multi-Scale Feature Adaptive Weighted Fusion,” Sensors (Basel, Switzerland), vol. 24, 2023, doi: 10.3390/s24010050.

A. Surahmat dan D. B. R. W. Yato, “AI-Based Waste Detection for Water Quality Monitoring in the Cisadane River: A Deep Learning Approach,” Gema Lingkungan Kesehatan, vol. 23, no. 3, hal. 333–343, 2025, doi: 10.36568/gelinkes.v23i3.270.

A. Bera, Z. Wharton, Y. Liu, N. Bessis, dan A. Behera, “SR-GNN: Spatial Relation-Aware Graph Neural Network for Fine-Grained Image Categorization,” IEEE Transactions on Image Processing, vol. 31, hal. 6017–6031, 2022, doi: 10.1109/tip.2022.3205215.

M. Nunkhaw dan H. Miyamoto, “An Image Analysis of River-Floating Waste Materials by Using Deep Learning Techniques,” Water, 2024, doi: 10.3390/w16101373.

T. Sung, Y. Kang, dan J. Im, “Enhancing Satellite-Based Wildfire Monitoring: Advanced Contextual Model Using Environmental and Structural Information,” IEEE Transactions on Geoscience and Remote Sensing, vol. 62, hal. 1–16, 2024, doi: 10.1109/tgrs.2024.3418475.

K. Buchhorn, E. Santos‐Fernandez, K. Mengersen, dan R. Salomone, “Graph neural network-based anomaly detection for river network systems,” F1000Research, vol. 12, 2023, doi: 10.12688/f1000research.136097.2.

S. Xia et al., “An Adaptive Multi-Granularity Graph Representation of Image via Granular-ball Computing,” IEEE Transactions on Image Processing, vol. 34, hal. 2986–2999, 2025, doi: 10.1109/tip.2025.3565212.

Z. Xue, Z. Liu, Z. Xue, dan T. Song, “Spatial-Spectral Contrastive Graph Neural Network for Few-Shot Hyperspectral Image Classification,” IEEE Access, vol. 13, hal. 88278–88290, 2025, doi: 10.1109/access.2025.3569874.

A. A. Yusuf, F. Chong, dan M. Xianling, “An analysis of graph convolutional networks and recent datasets for visual question answering,” Artificial Intelligence Review, vol. 55, hal. 6277–6300, 2022, doi: 10.1007/s10462-022-10151-2.

S. Wei, H. Tang, P. Jiao, dan H. Wu, “GGAT: Gravitation-Based Graph Attention Networks,” IEEE Transactions on Signal and Information Processing over Networks, vol. 11, hal. 630–640, 2025, doi: 10.1109/tsipn.2025.3583355.

Z. Cui, L. Chen, Y. Wang, D. Haehn, Y. Wang, dan H. Pfister, “Generalization of CNNs on Relational Reasoning With Bar Charts,” IEEE Transactions on Visualization and Computer Graphics, vol. 31, hal. 5611–5625, 2024, doi: 10.1109/tvcg.2024.3463800.

W. Wang et al., “Drainage pattern recognition method considering local basin shape based on graph neural network,” International Journal of Digital Earth, vol. 16, hal. 593–619, 2023, doi: 10.1080/17538947.2023.2172224.

D. Wang dan H. Qian, “Graph neural network method for the intelligent selection of river system,” Geocarto International, vol. 38, 2023, doi: 10.1080/10106049.2023.2252762.

C. Sun et al., “Attention-based graph neural networks: a survey,” Artificial Intelligence Review, vol. 56, hal. 2263–2310, 2023, doi: 10.1007/s10462-023-10577-2.

J. Su, R. Chen, M. Li, S. Liu, G. Xu, dan Z. Zheng, “EcoDetect-YOLOv2: A High-Performance Model for Multi-Scale Waste Detection in Complex Surveillance Environments,” Sensors (Basel, Switzerland), vol. 25, 2025, doi: 10.3390/s25113451.

H.-S. Lee, S. Byeon, J. H. Kim, J.-K. Shin, dan Y. Park, “Construction of a Real-Time Detection for Floating Plastics in a Stream Using Video Cameras and Deep Learning,” Sensors (Basel, Switzerland), vol. 25, 2025, doi: 10.3390/s25072225.

X. Song, Z. Hua, dan J. Li, “Context Spatial Awareness Remote Sensing Image Change Detection Network Based on Graph and Convolution Interaction,” IEEE Transactions on Geoscience and Remote Sensing, vol. 62, hal. 1–16, 2024, doi: 10.1109/tgrs.2024.3357524.

J. Farfán, K. Palacios, J. Ulloa, dan A. Avilés, “A hybrid neural network-based technique to improve the flow forecasting of physical and data-driven models: Methodology and case studies in Andean watersheds,” Journal of Hydrology: Regional Studies, vol. 27, hal. 100652, 2020, doi: 10.1016/j.ejrh.2019.100652.

A. T. Marye et al., “Remote Sensing for Monitoring Macroplastics in Rivers: A Review,” Wiley Interdisciplinary Reviews: Water, vol. 12, 2025, doi: 10.1002/wat2.70020.

G. Collins et al., “Evaluation of clinical prediction models (part 1): from development to external validation,” The BMJ, vol. 384, 2024, doi: 10.1136/bmj-2023-074819.

Additional Files

Published

2026-06-15

How to Cite

[1]
A. Surahmat, L. U. . Zogara, and F. . Muttaqi, “CCTV-Based River Waste Detection Using a Hybrid CNN–Graph Attention Network with Spatial–Contextual Feature Learning”, J. Tek. Inform. (JUTIF), vol. 7, no. 3, pp. 2577–2587, Jun. 2026.