How to draw concentric ellipses around a defined ellipse in an image?
Background I am trying to identify an ellipse in an image and then draw two concentric ellipses—one outside and one inside the identified ellipse. I need these ellipses to align with the outline of the identified ellipse. Input Image: Original image Target Image: Target image Here is the code I have so far: import cv2 […]
How to draw concentric ellipses around a defined ellipse in an image using OpenCV?
Background I am trying to identify an ellipse in an image and then draw two concentric ellipses—one outside and one inside the identified ellipse. I need these ellipses to align with the outline of the identified ellipse. Input Image: Original image Target Image: Target image Here is the code I have so far: import cv2 […]