Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using openCV python to detect concrete cracks

Could anyone have an idea how i can isolate just the cracks from the image of a concrete surface. My input image is something like this:

image description

I am expecting my output to be something like this:

image description

I have tried canny edge detector but that gives me a broken contour. I tried dilation followed by erosion but that increases the width of crack segment in the binary image and that will be a problem as the width should not be changed. I need a closed contour of the crack without change in width. Can anyone point me in the right direction ?