railway vacancy detection