Research on detection of the ground equipment for the preventive maintenance system for railroads by image analysis