Write code in OpenCV, got the image, the image of ellipse fitting, but each segment is separated, how can I will be using all the lines on the image and use the fitEllipse for ellipse fitting? Or other means of line segments are used for ellipse fitting on the picture?
CodePudding user response:
Understand the template matching,CodePudding user response:
Extract scatter, then use the cv2. FitEllipse function to get the ellipse parameters