Learning-based Image Scale Estimation for Quantitative Visual Inspection of Civil Structures