I'm using the Python OpenCV bindings to find the contours in an Image. I'm know looking for the possibility to sort this sequence.
It seems the usual python ways for list sorting don't apply here because of the linked list structure generated from OpenCV.
Do you know a good way to sort the Contours by Size (Area/BoundingRectangle) in python? Is it possible to give some example code?