OpenCV Line Detection

前端 未结 3 888
故里飘歌
故里飘歌 2021-01-01 06:50

I am trying to find the edges of the centered box in this image: \"black

I have tried using a H

3条回答
  •  清歌不尽
    2021-01-01 07:26

    Try using a preprocessing pass with the erosion filter. It will give you the same effect as the downscaling - the lines will become thinner and will not disappear at the same time.

    The "Blur" filter is also a good idea, as chaiy says.

    This way (with blur) it will become something like http://www.ic.uff.br/~laffernandes/projects/kht/index.html (Kernel Based Hough Transform)

提交回复
热议问题