A good approach for detecting lines in an image?

后端 未结 5 833
我在风中等你
我在风中等你 2021-01-30 10:59

I\'ve written some code that uses OpenCV libraries to detect white lines painted on grass. I need someone\'s opinion on the approach I used (as I\'m sure there\'s a much better

5条回答
  •  我在风中等你
    2021-01-30 11:43

    I would try to use a skeleton representation of the image. The problem with your canny, here, is that it basically results in two lines because of the width of the line.

    Then I would apply the Hough transform on it.

提交回复
热议问题