opencv / opencv_contrib

Repository for OpenCV's extra modules
Apache License 2.0
9.22k stars 5.74k forks source link

What are the return type of detectEllipses. #3622

Open amarnathreddy0201 opened 6 months ago

amarnathreddy0201 commented 6 months ago

Dear sir, I studied your article and i understand. I am unable to get knowledge of detectellipses. detectEllipses output parameters. I am getting 6 parameters. I don't know why it is 6 and how can it will indicate ellipses.

Example : [ 2180.9, 2752, 0, 38.877, 32.04, 25.823],

6 parameters why.

Please help me what are this 6 parameters.

Thanks, Amarnath Reddy.

MDSALMANSHAMS commented 3 months ago

Hi @amarnathreddy0201,

Ellipse Parameters: Center (x, y): (2180.9, 2752) Angle: 0 degrees (the ellipse is not rotated) Major Axis: 38.877 Minor Axis: 32.04 Additional Parameter: The meaning of the final value (25.823) is unclear without more context.

I hope this was helpful.