I want to detect the boundary of my set of points. I tried Delaunay triangulation from scipy spatial, but I get this:
And when I perform alpha shape from those triangles, I can't get the boundary of the set of points. So I think that I should use constrained Delaunay triangulation. I choose the triangle library to perform this. But the trouble is that I don't know what to feed to the function triangle.triangulate(tri, opts=''). I feed all my set of points that I change into dictionary but it returns my set of points. So anyone can help me to use this function or another alternative to perform the contour detection? Thanks