Vision-based On Board Obstacle Detection System (VOODS) pada Sarana Perkeretaapian Menggunakan Pantauan Kamera
Diva Trisna, Sutrisno, Joko Hariyono · JITEKH · 2026
Urban railway industries face various safety challenges, including potential collisions, vehicles crossing rail tracks, and foreign objects on the track. Conventional inspection systems relying on train operators have limitations under restricted visibility and high speeds. This study develops a camera-based Vision-based On Board Obstacle Detection System (VOODS) using the YOLOv8 segmentation algorithm capable of detecting and classifying obstacles in real-time on railway tracks. The system utilizes existing CCTV cameras on trains, Ethernet network as communication channel, and a mini PC as the processing unit. A dataset was collected from the KRL Jabodetabek operational environment under morning and daytime lighting conditions, comprising 300 images (240 training and 60 validation) across four classes (Rail, Train, Human, Car). Annotation was performed using the LabelMe (Anaconda) platform, considering data confidentiality since the entire dataset is stored on the researcher’s local PC. The yolov8m-seg model was trained via Google Colaboratory with epochs=150, imgsz=1024, and patience=30. Danger zone determination is performed dynamically using the rail segmentation mask as Region of Interest (ROI); a warning subsystem then checks overlap between rail mask and object mask using bitwise AND operation to determine on-track presence. This approach refers to the clearance profile defined in Indonesian Ministerial Regulation PM No. 60 Year 2012. Evaluation results show a Box [email protected] of 0.959 across all classes. Per-class performance: Rail 0.995, Train 0.989, Human 0.933, and Car 0.918. Confusion Matrix analysis shows a True Positive Rate of 1.00 for Rail, 0.96 for Train and Car, and 0.88 for Human. The warning subsystem was successfully tested on operational video and can trigger alerts when a human enters the rail area. The high Recall value is positive because, in railway safety context, Recall is more critical than Precision. The developed VOODS contributes significantly to improving operational safety of urban railway transportation in Indonesia