Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

OpenCV Contour problem

Vijay_O_
Beginner
1,180 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