When detecting striped fabric, my solution performed poorly, resulting in fragmented and incomplete detection. Here are my steps:
-
Grayscale conversion
-
Opening Operation: Denoising
-
Gaussian blur
-
Calculate the median of the grayscale and use Canny edge detection
-
Closing Operation
-
Calculate the maximum edge value
I consistently fail to obtain a complete and effective fabric edge. My knowledge of edge detection is limited, and I hope to receive some insights and assistance.

