First time here? Check out the FAQ!
answered 2018-07-01 05:50:54 -0600
please use findContours() to get a contour.
your per-pixel loop may gather the same points, but they are in the wrong order (line-scan)