Image-Based Crack Detection by Extracting Depth of the Crack Using Machine Learning