Ellipse detection with OpenCV

前端 未结 3 2053
别那么骄傲
别那么骄傲 2020-12-05 20:42

I would like to detect ellipses with OpenCV for Android, using the Tutorial 2-Basic included with OpenCV 2.4.1 package as a starting point. Note that my ellipse would be a p

3条回答
  •  天涯浪人
    2020-12-05 21:22

    The parameters used in HoughCircles play a fundamental role. HoughCircles will detect not just perfect, but also near-perfect circles (ellipses). I suggest you check this examples:

    • How to detect circles (coins) in a photo
    • Simple object detection using OpenCV
    • OpenCV dot target detection
    • Reshaping noisy coin into a circle form

    And this answer has a decent collection of references.

提交回复
热议问题