Development of freight train ID number recognition system based on a subspace method