Development of Machine Vision Technology for Railcar Safety Appliance Inspection