DETECTION ALGORITHM

Concrete crack
Objective
One of our current projects is about training a model that performs crack detection on concrete slabs. The main goal is to optimize the process in production. Cracks on the surface are a major defect in concrete structures. Timely crack detection helps construction companies and concrete product manufacturers to prevent potential losses.
There are various approaches to solving this problem, some of them involve manual inspection and others are based on automatic detection methods. Nowadays, the increased efficiency of modern neural network models and Computer Vision technologies makes an automatic approach out of competition compared to the manual one, allowing to optimize the process without losing any accuracy.

Crack detection is the semantic segmentation problem. Semantic segmentation refers to the process of linking each pixel in an image to a class label. In this case, we need to find all pixels of cracks on the photo of a concrete structure.
TASKS
The images were 11664x8750 px resolution and the cracks were so small that after fragmentation we end up with a huge imbalance in our training data set.
01
Almost all of the cracks in the training dataset were horizontal. However, in reality, there are common both horizontal and vertical types of cracks.
02
SOLUTION

We had to split each image into 256x256 px overlapping tiles. Each image was divided into about 1600 samples without cracks and 150 with ones to balance the dataset.

We have performed data augmentation – a technique to artificially create new training data from existing training data. We had to make the following transformations to get a good diversity of input data:

- Flip each image horizontally and vertically;
- Rotate each image at different angles;
- Change brightness and contrast settings of each image in different ways;
- Apply Gaussian blur.
RESULTS

The metric to evaluate our model was the Sørensen–Dice coefficient. After training, the value of this metric is 95% on the train set and 93% on the validation set.

VALUE
  • Automation and simplification of the detection;
  • Minimization of human presence in hard-to-reach/hazardous places;
  • Constant monitoring of critical areas;
  • Cost reduction.