Abstract: Railway plug defects impact the safety of a railway system. To detect railway plug defects, we establish the framework of a visual inspection system (VIS), which is the first system that can ...