I want to learn the path of bitmap's edge with artificial intelligence and drawing contour. I want, how can I do this? I left an example image below, the stroke path drawn in the picture is given a neon effect, but it used the edge to do this, I want to do exactly that, how can I do that?
In the question asked as an example, the edge of any picture was found as a road.
I am currently drawing contour using the code in this link.