Computer Vision-Based Automatic Railroad Crossing Monitoring and Track Inspection