##plugins.themes.bootstrap3.article.main##

ID Adiratna Ciptaningrum ID Mohammad Erik Echsony ID R. Akbar Nur Apriyanto

Abstract

Intrusion and trespasser detection on railway tracks is a crucial safety measure to prevent accidents and maintain operational reliability. This study proposes a hybrid vision-based approach that integrates YOLOv8n, a lightweight real-time object detection model, with the Canny edge detection algorithm to identify and classify unauthorized objects and individuals on railway tracks. In this context, intrusions refer to inanimate objects such as rocks, fallen trees, or construction materials obstructing the tracks, whereas trespassers refer to humans or other living beings engaging in unauthorized activities near or on the railway line. YOLOv8n is employed as a single-stage detector to localize and classify objects, while Canny edge detection is applied to enhance object contours and improve shape-based differentiation between intrusion and trespasser categories. Experimental results show an average accuracy of 52.37%, indicating moderate detection performance. Although the accuracy remains limited, the findings demonstrate the potential of combining deep learning and traditional image processing techniques to develop an automated monitoring system that supports railway safety and surveillance applications. Further optimization of the dataset, model tuning, and feature enhancement are recommended to improve detection performance.

Downloads

Download data is not yet available.

##plugins.themes.bootstrap3.article.details##

How to Cite
Ciptaningrum, A., Echsony, M. E., & Apriyanto, R. A. N. (2025). A Dual-Stage Hybrid Vision Framework Using YOLOv8n-Canny Edge Detection for Real-Time Railway Trespassing and Intrusion Monitoring. Applied Technology and Computing Science Journal, 8(2), 133–143. https://doi.org/10.33086/atcsj.v8i2.8579
Section
Articles
Railway safety, Intrusion, Trespasser, YOLOv8n, Canny edge detection

References

P. KAI, "Train User Volume Increases 42% in Semester I 2022 [Press Release – in Indonesian]. Indonesia Railway Company PT KAI," KAI, [Online]. Available: https://www.kai.id/information/full_news/5379- volume-pelanggan-kereta-api-naik-42-pada-semester- i-2022. [Accessed May 2025].

Luthfi, K. M., Sugiana, A., & Suratman, F. Y., "Broken rail detection system using laser," in IOP Conference Series: Materials Science and Engineering.

Buku Statistik Investigasi Kecelakaan Transportasi KNKT 2021, Pelayanan Investigasi dan Kerjasama Bagian Data, Informasi, dan Humas Komite Nasional Keselamatan Transportasi., Komite Nasional Keselamatan Transportasi, 2021.

Indonesia Transportation Safety Committee (KNKT), "Book of Transportation Accident Investigation Statistics in 2021," 2022.

Lai, J., Xu, J., Wang, P., Yan, Z., Wang, S., Chen, R., & Sun, J, "Numerical investigation of dynamic derailment behavior of railway vehicle when passing through a turnout," Engineering Failure Analysis, no. 121, 105132, 2021.

Yuliang Zhao, Zhiqiang Liu, Dong Yi, Xiaodong Yu, Xiaopeng Sha, Lianjiang Li, Hui Sun, Zhikun Zhan, and Wen Jung Li, "A Review on Rail Defect Detection Systems Based on Wireless Sensors," Sensors, vol. 22, no. 6409, 2022.

Aydin, I., Akin, E., & Karakose, M., "Defect classification based on deep features for railway tracks in sustainable transportation," Applied Soft Computing, no. 111(107706), p. 1–14, 2021.

Fahmi, "New Measuring Train from Switzerland Arrives in Jakarta, Here's What It Looks Like [Internet-in Indonesian]," 2022.

Rizaty MA, "evelopment of Railway Track Length in Indonesia for 2016-2020 [Internet-in Indonesian]. 2021 [cited 2023 Apr 1]," [Online]. Available: https://databoks.katadata.co.id/datapublish/2021/10/26 /indonesia-miliki-rel-kereta-sepanjang-632-juta- meter-pada-2020.

"Wikipedia. List of countries by rail transport network size - Wikipedia [Internet]," [Online]. Available: https://en.wikipedia.org/wiki/List_of_countries_byrail _transport_network_size#cite_note-40.

Adiratna Ciptaningrum, Andhika Putra Widyadharma, Imam Junaedi, Rahayu Mekar Bisono, R. Akbar Nur Apriyanto, R. Gaguk Pratama Yudha, Mohammad Erik Echsony, Larissa Kartika Putri, Edo Zulmi Faikhsan, "Design of YOLOv5 Medium as Unmanned Rail Inspection in Braking Control System Based on Computer Vision," International Journal of Science, Engineering and Information Technology, vol. 8, no. 2, pp. 467-474, 2024.

X. Zhang, Y. Li, J. Wang, and L. Chen, "Real-time pedestrian monitoring at unmanned railway crossings using YOLOv8 under dynamic lighting," IEEE Trans. Intell. Transp. Syst, vol. 24, no. 7, p. 5678–5689, July 2023.

H. Liu, Y. Zhang, and K. Zhou, "Enhancing object detection performance for railway safety using Canny edge-assisted deep learning models," . Rail Transp. Plan. Manag, vol. 22, p. 100354, 2022.

A. Kumar, R. Singh, and D. Patel, "Real-time detection of foreign objects and intrusions on railway tracks using CNN-based models," IEEE Access, vol. 9, p. 123456–123467, 2021.

Adiratna Ciptaningrum, Wahyu Pribadi, Dirvi Eko Juliando, Rakhmad Gusta, Edo Zulmi Faikhsan, "Design of smart human following on rail inspection using human pose estimation marker-less motion capture based on blazepose," Journal Geuthee of Engineering and Energy (JOGE), vol. 2, no. 2, pp. 106 - 118, 2023.

J. Redmon and A. Farhadi, "YOLOv8: Real-time object detection in constrained environments," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. Workshops (CVPRW), 2023.

T. H. Nguyen, M. N. Bui, and Q. D. Tran, "Edge-enhanced object detection in railway surveillance using Canny-based pre-processing," Expert Syst. Appl., vol. 23, p. 117634, 2022.

S. Ren, K. He, R. Girshick, and J. Sun, "Faster R-CNN: Towards real-time object detection with region proposal networks," Advances in Neural Inf. Process. Syst. (NeurIPS), vol. 28, 2015.

M. Ali, L. Zhao, and W. Tan, "Lightweight object detection for railway intrusion monitoring using YOLOv8n and edge enhancement techniques," Sensors, vol. 23, no. 12, pp. 5123, 2023, 2023.

J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You Only Look Once: Unified, real-time object detection," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 2016.

L. Zhang, Y. Chen, and H. Wang, "Bridge surface damage detection using an improved YOLOv3 with batch normalization and focal loss,," Autom. Constr, vol. 128, p. 103764, 2021.

Z. Yin, Y. Liu, and T. Huang, "utomatic sewer defect detection using YOLOv3-based deep learning," Tunnelling and Underground Space Technol, vol. 98, p. 103249, 2020.

J. Deng, L. Xu, and Y. Han, "Surface crack detection on concrete structures with graffiti using YOLOv2," Struct. Control Health Monit, vol. 26, no. 9, p. e2405, 2019.

Adiratna Ciptaningrum, Politeknik Negeri Madiun

Mohammad Erik Echsony, Politeknik Negeri Madiun

R. Akbar Nur Apriyanto, Politeknik Negeri Madiun