Contour tracing or line following methods

Hi, Does anybody know if openCV has any contour tracing or line following methods? I’m new to openCV. Thanks

please clarify and give context. use pictures to explain.

Hi, What I mean is for example the binary output of a Canny operator, which is just a narrow line. It would be nice to be able to list each successive “white” pixel in a table or list of each (x,y) coordinate pair for each “white” pixel point. Its kind of a funny question and most of CV software would have no interest in doing that type of operation. But Thank you anyway for your time. Have a good day, Sincerely, Mark


but that gives a “set”, without specified order

and there’s a high probability that you’re going down the wrong path because (1) you’re focused on it, as evidenced by your narrow response to “give context” (2) many people who asked for these things usually, after much pulling of teeth, reveal the true problem, for which the picked solution is absolute rubbish, because the toolbox only contained a hammer and that makes everything a nail.

I hope you know what you’re doing. I can’t help without context.

Hi Thank you for your reply. I’m probably not explaining it very well. But you are right, it could mean that what I am looking for, doesn’t really exist. I’m sorry for sending you on a wild goose chase. But Thank you just as well. I appreciate it. Sincerely, Mark

Yes, findContours function: OpenCV: Structural Analysis and Shape Descriptors