Detecting surface anomalies with deep learning