Software Archive
Read-only legacy content
17061 Discussions

OpenCV Contour problem

Vijay_O_
Beginner
537 Views

I want to use OpenCV to convert a raster image to a vector based image my first step is to create a smooth outline of the objects in the image. To do this I use Cammy to find the edges and use FindContour to get the outline but the data I get from FindContours is jagged and rough. Also I am finding the FindContour is giving my broken and double contours I want to merge these contours. I thank the problem is with the setting  I want to used the data from FindContours to smooth the image data rather then has a pixalated image. I want to a polyline or a spline curve.

I have attached some example jpeg for referance.

Thanks again in advance

0 Kudos
0 Replies
Reply