Skip to content
Advertisement

Tag: opencv

Find end point on each line using OpenCV

I’m trying to get the coordinate of every end point on every line, but i couldn’t come up with a solution, this is what I’ve currently got but its finding the outline of the lines not the lines itself Answer The hit-or-miss transform can be used to find end points of a line after skeletonization. Code:

Advertisement