Rail Component Detection, Optimization, and Assessment for Automatic Rail Track Inspection | Synapse