N Ali
N Ali

Reputation: 11

How to detect cracks on tiles?

I want to detect cracks on tiles. I used canny, but it didn't work well.

enter image description here enter image description here

Upvotes: 1

Views: 1270

Answers (2)

Mateen Ulhaq
Mateen Ulhaq

Reputation: 27271

The simplest approach would be a process of elimination:

  • Figure out where the outer edges of the tile are.
  • Any edges which are not the outer edges might be cracks.
  • Look at the original image and find something different about the cracks vs the textures. Some ideas:
    • High local frequency
    • Color
    • Shape
    • Singular/converging point
    • Jaggedness
    • Intensity
    • Size
  • Use some method to determine if any remaining edges are cracks:
    • Energy methods
    • Deep learning

Upvotes: 0

This is a difficult one to do by just using edge detection, especially because of the patterns on the tiles. I suggest collecting a large number of photos of tiles and using a deep learning approach. You can find a few examples of deep lerning at pyimagesearch.com.

Upvotes: 1

Related Questions