How do I find the end points on the contour(I have reduced them to discrete points) below?
This how to find the end point of a contour solve me problem. As the starting of the contour detection was made from the middle of the contour by the function cv2.findcontour