Approximating jagged edges as lines
问题 I am trying to find accurate locations for the corners on ink blotches as seen below: My idea is to fit lines to the edges and then find where they intersect. As of now, I've tried using cv2.approxPolyDP() with various values of epsilon to approximate the edges, however this doesn't look like the way to go. My cv.approxPolyDP code gives the following result: Ideally, this is what I want to produce (drawn on paint): Are there CV functions in place for this sort of problem? I've considered