Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to find the end point of a contour

Hi All,

is there any function or way to find the end points of a contour ,i am able to find the contours in an image using the below code and in next step i need to get the start and end points for all of these contours

Imgproc.findContours(edges, contours, hierarchy, Imgproc.RETR_EXTERNAL, Imgproc.CHAIN_APPROX_SIMPLE);

Thanks