Reshaping noisy coin into a circle form

后端 未结 5 504
遇见更好的自我
遇见更好的自我 2020-11-30 05:33

I\'m doing a coin detection using JavaCV (OpenCV wrapper) but I have a little problem when the coins are connected. If I try to erode them to separate these coins they loose

5条回答
  •  渐次进展
    2020-11-30 05:51

    The usual approach for erosion-based object recognition is to label continuous regions in the eroded image and then re-grow them until they match the regions in the original image. Hough circles is a better idea in your case, though.

提交回复
热议问题