title: Detect different kinds of circles and ovals on the image using OpenCV and Python
body: <p>I need to detect the different shapes on the image such as ellipses and circles with a dashed-border.</p>
  
  <p>Using OpenCV causes some troubles, for e.g. openCV detects not a contour but an amount of small separated lines(contours).
  In case of ellipse with a "dashed-border" I need it to be as single contour, not a separated objects.</p>
  
  <p>What would you suggest to solve this problem?</p>
  
  <p>I also need to recognize the ellipses(or circles) with solid border and ellipses(circles) with a dashed-border</p>
  
  <p><strong>Ellipse with solid border</strong></p>
  
  <p><img src="https://i.stack.imgur.com/dBQ8w.png" alt="enter image description here"></p>
  
  <p><strong>Ellipse with dashed border:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/8ZmZk.png" alt="enter image description here"></p>