How do I split a contour?
Example below shows a single detected contour. We can see that this contour can be split into two contour(red line separating the two).
First one the top curve which can be seen to represent a separate object from the bottom curve.
How can I split this single contour into two separate contours at the point where the red line passes through the contour?