A Bayesian Convolutional Neural Network approach for image-based crack detection and maintenance applications