Rivers play an important role in supporting environmental sustainability and community activities; however, improper waste disposal into rivers remains a significant environmental issue. This study aims to develop an automatic system for detecting littering activities in the Sekanak River using surveillance cameras based on a Convolutional Neural Network–Long Short-Term Memory (CNN-LSTM) model. The proposed system employs YOLOv8 as a preprocessing stage to detect and crop human objects from each video frame, while CNN-LSTM is utilized to classify activities into two categories: Littering and Normal. The research methodology consists of dataset collection, preprocessing, YOLOv8-based human detection, CNN-LSTM model training, integrated system implementation, and performance evaluation using a confusion matrix. Experimental results show that the proposed system achieved an accuracy of 87.5%, precision of 90%, and recall of 90% on the testing dataset. These results indicate that the integration of YOLOv8 and CNN-LSTM is capable of distinguishing littering activities from normal activities based on spatial and temporal information extracted from video sequences. The proposed approach can be utilized as an automated monitoring system to support environmental surveillance of the Sekanak River and provides a basis for further development using larger datasets and more diverse environmental conditions.
Copyrights © 2026