Circle detection without overlapping

前端 未结 3 668
慢半拍i
慢半拍i 2021-01-23 17:08

I want to do circle detection under the condition that: overlap circles will be count as 1 circle.

Particularly, when I do circle detection and put the letter \"P\" to e

3条回答
  •  悲&欢浪女
    2021-01-23 18:04

    (1) Threshold using OTSU and then adjust the thresh vaule again

    (2) Find the external contours on the binary image, filter the contour by area, then find the minClosingCircle.

    This is it:

提交回复
热议问题