2019-09-02 17:12:42 -0600 | received badge | ● Notable Question (source) |
2019-01-09 05:07:27 -0600 | received badge | ● Popular Question (source) |
2016-08-18 23:26:01 -0600 | asked a question | how to use python to detect ellipse I want to detect the simple shapes in an image. I use cv2.approxPolyDP to detect vertices, but the result of ellipse is 4, same as square, how to differ them? Or, how to detect an ellipse, given the contour? This is part of the code, "c" is the contour. I find ellipse's approx is 4, same as square. |