Ask Your Question

Revision history [back]

take a look at https://github.com/opencv/opencv/blob/master/samples/python/tutorial_code/ShapeDescriptors/bounding_rotated_ellipses/generalContours_demo2.py

take a look at https://github.com/opencv/opencv/blob/master/samples/python/tutorial_code/ShapeDescriptors/bounding_rotated_ellipses/generalContours_demo2.py

the actual output is like below. try to modify the code.

image description